Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

easy building dialogs

easy dialog package helps you easily create basic or custom dialogs.

easy building dialogs flutter

�� installation

in the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
  easy_dialog: <latest version>

�� usage

import this class

import 'package:easy_dialog/easy_dialog.dart';

basic structure

easydialog(
        title: text("basic easy dialog title"),
        description: text("this is a basic dialog")).show(context);

�� examples

let start creating simple but beautiful dialogs.

here you have some basic examples of what can you build and let your creativity fly.

examples_gif

�� customization and attributes

all customizable attributes for easy_dialog

attribute name example value description
topimage assetimage(“assets/topimage.png”) top image for decoration purpose with rounded top corners
title text(“alert”) dialog title, located under topimage if exists
tittlepadding edgeinsets.only(left: 8.0,right: 8.0) title padding
description text(“connection error”) dialog description, located between title and contentlist
descriptionpadding edgeinsets.only(left: 8.0,right: 8.0) description padding
contentlist [
text(“this is an extra text line”),
flatbutton(onpressed: () {},
child: text(“okay”),),
]
optional widget list, located in order before description
contentpadding edgeinsets.all(12.0) content padding. it wraps all widgets including title and description
height 200 dialog height
width 250 dialog width
cornerradius 15.0 dialog corner radius
fogopacity 0.5 fog opacity, sets the black fog opacity behind our dialog from 0 to 1
closebutton false close button enable/disable

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top