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