SimpleClipPathDrawer constructor

const SimpleClipPathDrawer({
  1. Key? key,
  2. Widget? child,
  3. EdgeInsets padding = const EdgeInsets.all(0.0),
  4. ClipPathType clipPathType = ClipPathType.BOILER_PLATE,
  5. BackgroundGradientType backgroundGradientType = BackgroundGradientType.MAIN_BG,
  6. double? width,
  7. double widthPercent = 0.70,
  8. bool showAppBar = true,
  9. IconData leftIcon = Icons.arrow_back,
  10. bool showLeftIcon = true,
  11. VoidCallback? leftIconClickedCallback,
  12. ThemeGroupType leftIconType = ThemeGroupType.MOM,
  13. Emphasis leftIconEmphasis = Emphasis.HIGH,
  14. String title = "",
  15. bool showTitle = true,
  16. VoidCallback? titleClickedCallback,
  17. ThemeGroupType titleType = ThemeGroupType.MOM,
  18. Emphasis titleEmphasis = Emphasis.HIGH,
  19. TextAlign titleTextAlign = TextAlign.center,
  20. IconData rightIcon = Icons.account_circle,
  21. bool showRightIcon = true,
  22. VoidCallback? rightIconClickedCallback,
  23. ThemeGroupType rightIconType = ThemeGroupType.MOM,
  24. Emphasis rightIconEmphasis = Emphasis.HIGH,
  25. Color appBarBackgroundColor = Colors.transparent,
  26. double appBarElevation = 0.0,
  27. ShapeBorder appbarShape = const RoundedRectangleBorder(),
  28. bool enableAppbarSafeArea = true,
})

Implementation

const SimpleClipPathDrawer({
  super.key,
  this.child,
  this.padding = const EdgeInsets.all(0.0),
  this.clipPathType = ClipPathType.BOILER_PLATE,
  this.backgroundGradientType = BackgroundGradientType.MAIN_BG,
  this.width,
  this.widthPercent = 0.70,
  this.showAppBar = true,
  this.leftIcon = Icons.arrow_back,
  this.showLeftIcon = true,
  this.leftIconClickedCallback,
  this.leftIconType = ThemeGroupType.MOM,
  this.leftIconEmphasis = Emphasis.HIGH,
  this.title = "",
  this.showTitle = true,
  this.titleClickedCallback,
  this.titleType = ThemeGroupType.MOM,
  this.titleEmphasis = Emphasis.HIGH,
  this.titleTextAlign = TextAlign.center,
  this.rightIcon = Icons.account_circle,
  this.showRightIcon = true,
  this.rightIconClickedCallback,
  this.rightIconType = ThemeGroupType.MOM,
  this.rightIconEmphasis = Emphasis.HIGH,
  this.appBarBackgroundColor = Colors.transparent,
  this.appBarElevation = 0.0,
  this.appbarShape = const RoundedRectangleBorder(),
  this.enableAppbarSafeArea = true
});