cupertino_native
0.1.1, released a year ago by serverpod.dev
Native Liquid Glass widgets for iOS and macOS using platform views.
WASM-ready
What it does
Hosts real UIKit/AppKit controls inside Flutter using Platform Views and method channels to deliver native Liquid Glass widgets with pixel-perfect fidelity.
AI-written summary of version 0.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want native iOS and macOS Liquid Glass widgets inside a Flutter app.
- You are building a proof-of-concept or experimental app utilizing Apple's modern native styles.
Skip it when
- You need a production-ready, fully tested widget library for macOS.
- You require robust non-Apple platform support beyond basic fallbacks.
Strengths
- Provides pixel-perfect native UIKit/AppKit controls via platform views.
- Includes a set of ready-to-use widgets like sliders, switches, buttons, and tab bars.
Weaknesses
- Experimental proof of concept with limited platform coverage on macOS.
- Requires specific beta Xcode versions to build.
Setup
- Kind
- Plugin (native code)
- Effort
- High
- Code generation
- No
- Direct dependencies
- 1
Requires iOS 14.0+, macOS 11.0+, and installing the Xcode beta using xcode-select.
bool _on = true;
CNSwitch(
value: _on,
onChanged: (v) => setState(() => _on = v),
)Alternatives
Packages that do the same job and could replace cupertino_native.
- cupertino_ui
Alternative Cupertino UI components.
93Compare
Works with
Packages commonly used together with cupertino_native: ones it builds on, ones built on it, and its own family.