vdialog 0.2.0 vdialog: ^0.2.0 copied to clipboard
Flutter package to show beautiful dialogs with animations as simply as possible.
vDialog #
A new Flutter package project for simple and semantic way to fill the content inside the dialog.
🎖 Installing #
To use this package, add vDialog as a dependency in your pubspec.yaml file.
- install
dependencies:
vdialog: ^0.2.0
- import
import 'package:vdialog/vdialog.dart';
Example #
showDialog(
barrierDismissible: false,
context: context,
builder: (BuildContext ctx) => CustomDialog(
title: "Error",
buttonOne: this._buttonOne,
buttonTwo: this._buttonTwo,
buttonOneText: "retry",
buttonTwoText: "close",
content: "server not found!!",
showButtonOne: true,
showButtonTwo: true,
),
);