flutter_easy_dialogs 1.1.0 copy "flutter_easy_dialogs: ^1.1.0" to clipboard
flutter_easy_dialogs: ^1.1.0 copied to clipboard

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

example/lib/main.dart

import 'package:example/custom_dialog_manager.dart';
import 'package:example/easy_router.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easy_dialogs/flutter_easy_dialogs.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 Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      initialRoute: EasyRouter.initialRoute,
      onGenerateRoute: EasyRouter.onGenerateRoute,
      builder: (context, child) {
        final builder = FlutterEasyDialogs.builder(
          /// Provide custom dialog agent
          customManagerBuilder: (overlayController) =>
              [CustomDialogManager(overlayController: overlayController)],
        );

        return builder(context, child);
      },
    );
  }
}
58
likes
130
pub points
85%
popularity

Publisher

verified publisherfeduke-nukem.dev

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

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

back_button_interceptor, flutter

More

Packages that depend on flutter_easy_dialogs