adaptive_dialog 0.10.0+2 adaptive_dialog: ^0.10.0+2 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(),
),
);
}