diff --git a/lib/widgets/toolbar.dart b/lib/widgets/toolbar.dart index c825b575..8acdb12f 100644 --- a/lib/widgets/toolbar.dart +++ b/lib/widgets/toolbar.dart @@ -505,7 +505,7 @@ class _ColorButtonState extends State { _showColorPicker() { showDialog( context: context, - child: AlertDialog( + builder: (_) => AlertDialog( title: const Text('Select Color'), content: SingleChildScrollView( child: MaterialPicker(