cupertino_native_ui 0.1.0
cupertino_native_ui: ^0.1.0 copied to clipboard
Real UIKit and SwiftUI controls for Flutter on iOS: native buttons, lists, sheets, tab bars, navigation and Liquid Glass, driven by a Flutter-shaped API.
import 'package:flutter/material.dart';
import 'package:cupertino_native_ui/cupertino_native_ui.dart';
import 'app.dart';
import 'scaffold_routes.dart';
void main() {
if (CupertinoNativePageScaffold.maybeRun(scaffoldRoutes())) return;
runApp(const MyApp());
// Warm the shared engine group AND fully pre-boot the scaffold demo's
// inbox: without listing it, bodies still boot lazily on first visit. The
// plain prewarm() only pays the engine-group cold start. Other routes stay
// lazy (each listed route costs startup time and holds memory).
CupertinoNativePageScaffold.prewarm(routes: ['inbox']);
}