Fix usage of AlertDialog

pull/13/head
singerdmx 4 years ago
parent 0706656937
commit 6fa586ab57
  1. 2
      lib/widgets/toolbar.dart

@ -505,7 +505,7 @@ class _ColorButtonState extends State<ColorButton> {
_showColorPicker() { _showColorPicker() {
showDialog( showDialog(
context: context, context: context,
child: AlertDialog( builder: (_) => AlertDialog(
title: const Text('Select Color'), title: const Text('Select Color'),
content: SingleChildScrollView( content: SingleChildScrollView(
child: MaterialPicker( child: MaterialPicker(

Loading…
Cancel
Save