PaintingEditorTheme constructor
const
PaintingEditorTheme({
- TextStyle? lineWidthBottomSheetTitle,
- Color appBarBackgroundColor = imageEditorAppBarColor,
- Color lineWidthBottomSheetColor = const Color(0xFF252728),
- Color appBarForegroundColor = const Color(0xFFE1E1E1),
- Color background = imageEditorBackgroundColor,
- Color bottomBarColor = imageEditorAppBarColor,
- Color bottomBarActiveItemColor = imageEditorPrimaryColor,
- Color bottomBarInactiveItemColor = const Color(0xFFEEEEEE),
- double initialStrokeWidth = 10.0,
- Color initialColor = const Color(0xffff0000),
Creates an instance of the PaintingEditorTheme
class with the specified theme properties.
Implementation
const PaintingEditorTheme({
this.lineWidthBottomSheetTitle,
this.appBarBackgroundColor = imageEditorAppBarColor,
this.lineWidthBottomSheetColor = const Color(0xFF252728),
this.appBarForegroundColor = const Color(0xFFE1E1E1),
this.background = imageEditorBackgroundColor,
this.bottomBarColor = imageEditorAppBarColor,
this.bottomBarActiveItemColor = imageEditorPrimaryColor,
this.bottomBarInactiveItemColor = const Color(0xFFEEEEEE),
this.initialStrokeWidth = 10.0,
this.initialColor = const Color(0xffff0000),
}) : assert(initialStrokeWidth > 0, 'initialStrokeWidth must be positive');