clean_dialog 0.0.1 copy "clean_dialog: ^0.0.1" to clipboard
clean_dialog: ^0.0.1 copied to clipboard

outdated

A clean and minimalist dialog box for Flutter apps.

clean_dialog

A clean and minimalist dialog Supports null-safety and Flutter 3

Features #

  • Customisable
  • Lightweight

Usage #

Sample Alert

showDialog(
    context: context,
    builder: (context) => CleanDialog(
    title: 'Error',
    content: 'We were not able to update your information.',
    backgroundColor: const Color(0XFFbe3a2c),
    titleTextStyle: const TextStyle(fontSize: 25, fontWeight: FontWeight.bold, color: Colors.white),
    contentTextStyle: const TextStyle(fontSize: 16, color: Colors.white),
    actions: [
        CleanDialogActionButtons(
            actionTitle: 'Cancel',
            onPressed: () => Navigator.pop(context),
        ),
        CleanDialogActionButtons(
            actionTitle: 'Try again',
            textColor: const Color(0XFF27ae61),
            onPressed: () {},
        ),
    ],
    ),
);

Output

[errorexample]

2
likes
0
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

A clean and minimalist dialog box for Flutter apps.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on clean_dialog