Last updated:
0 purchases
flutter platform alertbox
Flutter Platform AlertBox #
Features #
Information AlertBox
Confirmation AlertBox
Delete Item AlertBox
Supported platforms #
Flutter Android
Flutter iOS
Flutter web
Flutter desktop
Installation #
Add flutter_platform_alertbox: <latest_version> to your pubspec.yaml dependencies. And import it:
import 'package:flutter_platform_alertbox/flutter_platform_alertbox.dart';
copied to clipboard
How to Use #
information AlertBox #
FlutterPlatFormAlertBox().informationDialogBox(
context: context,
title: "Alert Title",
body: "This is alert body",
heading: "This is alert heading"
);
copied to clipboard
Confirmation AlertBox #
FlutterPlatFormAlertBox().confirmationDialogBox(
context: context,
title: "Alert Title",
content: "This is alert body",
cancelText: "Cancel",
submitText: "Submit",
isCancelable: true,
onSubmit: ()
{
debugPrint("submit click");
}
);
copied to clipboard
Delete Item AlertBox #
FlutterPlatFormAlertBox().deleteItemDialogBox(
context: context,
title: "Are you sure to want to delete this item",
cancelText: "Cancel",
submitText: "Delete",
isCancelable: true,
onSubmit: ()
{
debugPrint("submit click");
}
);
copied to clipboard
Screenshot #
Android
IOS
Android Screenshot #
Information
Confirmation
Delete
iOS Screenshot #
Information
Confirmation
Delete
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.