fc_material_alert 0.0.4 copy "fc_material_alert: ^0.0.4" to clipboard
fc_material_alert: ^0.0.4 copied to clipboard

discontinuedreplaced by: fc_quick_dialog

A simple wrapper around Flutter Material Design alert dialogs.

Deprecated: Moved to fc_quick_dialog.

fc_material_alert #

pub package

A simple wrapper around Flutter Material Design alert dialogs.

Usage #

// Confirm dialog.
final result = await FcMaterialAlert.confirm(context,
    title: 'Confirm',
    yesText: 'Yes',
    noText: 'No',
    cancelText: 'Cancel',
    content: 'Are you sure?');

// Standard dialog.
await FcMaterialAlert.standard(context,
    title: 'Info',
    okText: 'OK',
    content: 'You selected $result');

// Error dialog.
await FcMaterialAlert.error(
    context, 'Exception: Test plugin error',
    title: 'Error', okText: 'OK');
0
likes
160
points
24
downloads

Publisher

verified publisherflutter-cavalry.com

Weekly Downloads

A simple wrapper around Flutter Material Design alert dialogs.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on fc_material_alert