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