WhatsAppPaintBottomBar constructor

const WhatsAppPaintBottomBar({
  1. Key? key,
  2. required ProImageEditorConfigs configs,
  3. required double strokeWidth,
  4. required dynamic onSetLineWidth(
    1. double value
    ),
  5. required Color initColor,
  6. required ValueChanged<Color> onColorChanged,
  7. IconData iconStrokeWidthThin = ProImageEditorIcons.penSize1,
  8. IconData iconStrokeWidthMedium = ProImageEditorIcons.penSize2,
  9. IconData iconStrokeWidthBold = ProImageEditorIcons.penSize3,
})

Implementation

const WhatsAppPaintBottomBar({
  super.key,
  required this.configs,
  required this.strokeWidth,
  required this.onSetLineWidth,
  required this.initColor,
  required this.onColorChanged,
  this.iconStrokeWidthThin = ProImageEditorIcons.penSize1,
  this.iconStrokeWidthMedium = ProImageEditorIcons.penSize2,
  this.iconStrokeWidthBold = ProImageEditorIcons.penSize3,
});