CropRotateEditorTheme constructor

const CropRotateEditorTheme({
  1. Color appBarBackgroundColor = imageEditorAppBarColor,
  2. Color appBarForegroundColor = const Color(0xFFE1E1E1),
  3. Color helperLineColor = const Color(0xFF000000),
  4. Color background = imageEditorBackgroundColor,
  5. Color cropCornerColor = imageEditorPrimaryColor,
  6. Color cropOverlayColor = const Color(0xFF000000),
  7. Color bottomBarBackgroundColor = imageEditorAppBarColor,
  8. Color bottomBarForegroundColor = const Color(0xFFE1E1E1),
  9. Color aspectRatioSheetBackgroundColor = const Color(0xFF303030),
  10. Color aspectRatioSheetForegroundColor = const Color(0xFFFAFAFA),
  11. double cropCornerLength = 36,
  12. double cropCornerThickness = 6,
})

Creates an instance of the CropRotateEditorTheme class with the specified theme properties.

Implementation

const CropRotateEditorTheme({
  this.appBarBackgroundColor = imageEditorAppBarColor,
  this.appBarForegroundColor = const Color(0xFFE1E1E1),
  this.helperLineColor = const Color(0xFF000000),
  this.background = imageEditorBackgroundColor,
  this.cropCornerColor = imageEditorPrimaryColor,
  this.cropOverlayColor = const Color(0xFF000000),
  this.bottomBarBackgroundColor = imageEditorAppBarColor,
  this.bottomBarForegroundColor = const Color(0xFFE1E1E1),
  this.aspectRatioSheetBackgroundColor = const Color(0xFF303030),
  this.aspectRatioSheetForegroundColor = const Color(0xFFFAFAFA),
  this.cropCornerLength = 36,
  this.cropCornerThickness = 6,
});