adaptive_dialog 0.9.0+1 adaptive_dialog: ^0.9.0+1 copied to clipboard
Show alert dialog or modal action sheet adaptively according to platform.
import 'package:example/router.dart';
import 'package:flutter/material.dart' hide Router;
import 'package:provider/provider.dart';
import 'app.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(
MultiProvider(
providers: [
Provider(create: (context) => Router()),
],
child: const App(),
),
);
}