vk_alert_dialog 0.0.3 copy "vk_alert_dialog: ^0.0.3" to clipboard
vk_alert_dialog: ^0.0.3 copied to clipboard

outdated

Flutter package to display simple alert dialoges with different types, like SUCCESS, ERROR and INFO.

vk_alert_dialog #

Library is used to display custom alert dialogs for different types

Types :

Success Error Info

To Use library, add library in pubsec.yaml file:

vk_alert_dialog: ^0.0.2

after package pasted run flutter packages get in terminal, then import package

import 'package:vk_alert_dialog/vk_alert_dialog.dart';

finally use in your Dart code

For success alert dialog

await VKAlertDialog.successDialog(
                    icon: Icon(Icons.account_circle),
                    context: context,
                    title: 'Profile Update',
                    description: 'profile has been updated successfully',
                    buttonText: 'OK');

For Error alert dialog

await VKAlertDialog.errorDialog(
                    context: context,
                    title: 'Profile Update',
                    description: 'profile update failed, please try again',
                    buttonText: 'OK');

For Info alert dialog

await VKAlertDialog.infoDialog(
                    context: context,
                    title: 'Profile Update',
                    description: 'please fill required fields',
                    buttonText: 'OK');
5
likes
0
pub points
39%
popularity

Publisher

unverified uploader

Flutter package to display simple alert dialoges with different types, like SUCCESS, ERROR and INFO.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on vk_alert_dialog