async_confirm_dialog 1.0.4 copy "async_confirm_dialog: ^1.0.4" to clipboard
async_confirm_dialog: ^1.0.4 copied to clipboard

A zero-boilerplate, async-aware confirmation dialog for Flutter. Handles loading states, double-tap prevention, and errors natively with adaptive Material and Cupertino designs.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'screens/demo_screen.dart';

/// Demo application for the [async_confirm_dialog] package.
void main() => runApp(const DemoApp());

/// The root widget of the demo application.
class DemoApp extends StatelessWidget {
  /// Creates the demo application root.
  const DemoApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Async Confirm Dialog',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        useMaterial3: true,
        colorSchemeSeed: Colors.indigo,
      ),
      home: const DemoScreen(),
    );
  }
}
1
likes
160
points
143
downloads

Documentation

API reference

Publisher

verified publishereebrahimjoy.com

Weekly Downloads

A zero-boilerplate, async-aware confirmation dialog for Flutter. Handles loading states, double-tap prevention, and errors natively with adaptive Material and Cupertino designs.

Repository (GitHub)
View/report issues

Topics

#dialog #confirmation #async #material #cupertino

License

MIT (license)

Dependencies

flutter

More

Packages that depend on async_confirm_dialog