adaptive_dialog 0.7.5+1 adaptive_dialog: ^0.7.5+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';
import 'package:provider/provider.dart';
import 'app.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(
MultiProvider(
providers: [
Provider(create: (context) => Router()),
],
child: const App(),
),
);
}