MyDialog(icon:Icon(Icons.exit_to_app,color: Colors.red,size: 30,),title:'Logout',description: 'Do you really wants to logout?',context: context,onPositivePressed: (){ print('Ok pressed'); },).show();
TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them.
Features
TODO: List what your package can do. Maybe include images, gifs, or videos.
Getting started
TODO: List prerequisites and provide or point to information on how to start using the package.
Example
import 'package:dialogbysunil/dialogbysunil.dart';
MyDialog(
icon: Icon(
Icons.exit_to_app,
color: Colors.red,
size: 30,
),
title: 'Logout',
description: 'Do you really wants to logout?',
context: context,
onPositivePressed: () {
print('Ok pressed');
},
).show();
Usage
TODO: Include short and useful examples for package users. Add longer examples
to /example
folder.
import 'package:dialogbysunil/dialogbysunil.dart';
MyDialog(
icon: Icon(
Icons.exit_to_app,
color: Colors.red,
size: 30,
),
title: 'Logout',
description: 'Do you really wants to logout?',
context: context,
onPositivePressed: () {
print('Ok pressed');
},
).show();
Additional information
TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.