Last updated:
0 purchases
easy dialogs
easy_dialogs #
Easy to use dialogs with lists
SingleChoiceDialog
SingleChoiceConfirmationDialog
SingleChoiceConfirmationDialog 1
SingleChoiceConfirmationDialog 2
SingleChoiceDialog
SingleChoiceConfirmationDialog 1
SingleChoiceConfirmationDialog<String>(
title: Text('Phone ringtone'),
initialValue: _ringTone,
items: _ringTones,
onSelected: _onSelected,
onSubmitted: _onSubmitted)
copied to clipboard
SingleChoiceConfirmationDialog 2
SingleChoiceConfirmationDialog<Color>(
title: Text('Color'),
initialValue: _color,
items: _colors,
contentPadding: EdgeInsets.symmetric(vertical: 16.0),
divider: Container(
height: 1.0,
color: Colors.blue,
),
onSubmitted: (Color color) {
setState(() => _color = color);
},
itemBuilder: (Color color) =>
Container(height: 100.0, color: color))
copied to clipboard
SingleChoiceDialog
SingleChoiceDialog<Color>(
isDividerEnabled: true,
title: Text('Pick a color'),
items: _colors,
onSelected: (Color color) {
setState(() => _color = color);
},
itemBuilder: (Color color) =>
Container(height: 100.0, color: color))
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.