showColorPickerPage function
Implementation
Future<Color?> showColorPickerPage(BuildContext context, Color? initialColor, String title) async {
return Navigator.of(context).push(
MaterialPageRoute(
builder: (context) {
return ColorPickerPage(
title: title,
initialColor: initialColor,
// onColorChanged: onColorChanged,
);
},
),
);
}