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

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 : 1. Success 2. Error 3. Info

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

vk_alert_dialog: ^0.0.5

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
40
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

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on vk_alert_dialog