0 purchases
tb custom dialog box
TB Custom Dialog package helps you easily create basic or custom dialogs.
Features #
<img src="https://raw.githubusercontent.com/yalamandarao/demo_images/main/dialog_box.png" alt="/>
Getting started #
To use this package, add tb_custom_dialog_box as a dependency in your pubspec.yaml file. And add this import to your file.
import 'package:tb_custom_dialog_box/tb_custom_dialog_box.dart';
Usage #
MTSCustomDialogBox(
iconImage: const Image(
image: AssetImage('assets/icons/smiley_icon.png')),
descriptions: "Dialog description here ....",
title: "Dialog Box",
okButtonText: "Ok",
borderRadius: 20,
padding: 20,
isCancelButtonVisible: false,
cancelButtonText: "Cancel",
cancelButtononPressed: () {
Navigator.of(context).pop();
},
okButtononPressed: () {
Navigator.of(context).pop();
},
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.