# Flutter

> Use one Dart API for a native Nosmai camera preview, beauty, filters, games, backgrounds, capture, recording, and Cloud Filters on iOS and Android.

> For AI agents: the complete documentation index is at https://nosmai.com/llms/effects.txt

Product: Nosmai Effects
Group: platform-guides
Source: https://nosmai.com/docs/effects/platforms/flutter/

## Start here

- [Install for Flutter](/docs/effects/installation/flutter/)
- [Build the Flutter quickstart](/docs/effects/quickstart/flutter/)
- [Open the example app](https://github.com/nosmai/nosmai_effects_sdk_flutter/tree/main/example)

## Requirements

| Item | Requirement |
| --- | --- |
| Flutter | 3.22 or later |
| Dart | 3 or later |
| iOS host | iOS 15, physical arm64 device |
| Android host | API 21, physical `arm64-v8a` device, external AAR |

## Available features

- `NosmaiCameraPreview` with automatic native lifecycle handling
- optional automatic tap forwarding for interactive games
- beauty, makeup, reshape, color, and eye controls
- local and cloud `.nosmai` packages
- manual and authored backgrounds
- processed photo capture and video recording
- active-state, license, game, and error streams
- maintained Agora and LiveKit bridges for processed live streaming

## Important ownership rules

Call `NosmaiFlutter.initialize` once outside widget `build`. Mount only one
`NosmaiCameraPreview`. The preview starts native processing automatically, so a
normal integration should not call `startProcessing` for the same view.

## Next steps

- [Apply beauty in Flutter](/docs/effects/guides/effects/apply-a-beauty-filter/flutter/)
- [Download a Cloud Filter in Flutter](/docs/effects/guides/filters/download-a-cloud-filter/flutter/)
- [Capture a photo in Flutter](/docs/effects/guides/output/capture-a-photo/flutter/)
- [Choose a Flutter streaming integration](/docs/effects/integrations/live-streaming/)
- [Stream through Agora](/docs/effects/integrations/agora/flutter/)
- [Stream through LiveKit](/docs/effects/integrations/livekit/flutter/)

## References

- [Flutter package](https://pub.dev/packages/nosmai_effects_sdk)
- [Flutter example](https://github.com/nosmai/nosmai_effects_sdk_flutter/tree/main/example)
- [Platform support](/docs/effects/platform-support/)
