flutter_easy_dialogs 2.0.1-alpha-2 copy "flutter_easy_dialogs: ^2.0.1-alpha-2" to clipboard
flutter_easy_dialogs: ^2.0.1-alpha-2 copied to clipboard

Easy, lightweight and flexible service for showing dialogs inside your Flutter application.

example/lib/main.dart

import 'package:example/my_dialog_manager/my_dialog_manager.dart';
import 'package:example/screens/home_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easy_dialogs/flutter_easy_dialogs.dart';
import 'package:full_screen_dialog_manager/full_screen_dialog_manager.dart';
import 'package:positioned_dialog_manager/positioned_dialog_manager.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Easy Dialogs demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const HomeScreen(),
      builder: FlutterEasyDialogs.builder(
        /// register managers
        setupManagers: (overlayController, managerRegistrar) {
          managerRegistrar
            ..registerFullScreen(overlayController)
            ..registerPositioned(overlayController)
            ..register(
              () => MyDialogManager(overlayController: overlayController),
            );
        },
      ),
    );
  }
}
59
likes
0
points
1.67k
downloads

Publisher

verified publisherfeduke-nukem.dev

Weekly Downloads

Easy, lightweight and flexible service for showing dialogs inside your Flutter application.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

back_button_interceptor, flutter

More

Packages that depend on flutter_easy_dialogs