SimpleClipPathDrawer constructor
const
SimpleClipPathDrawer({
- Key? key,
- Widget? child,
- EdgeInsets padding = const EdgeInsets.all(0.0),
- ClipPathType clipPathType = ClipPathType.BOILER_PLATE,
- BackgroundGradientType backgroundGradientType = BackgroundGradientType.MAIN_BG,
- double? width,
- double widthPercent = 0.70,
- bool showAppBar = true,
- IconData leftIcon = Icons.arrow_back,
- bool showLeftIcon = true,
- VoidCallback? leftIconClickedCallback,
- ThemeGroupType leftIconType = ThemeGroupType.MOM,
- Emphasis leftIconEmphasis = Emphasis.HIGH,
- String title = "",
- bool showTitle = true,
- VoidCallback? titleClickedCallback,
- ThemeGroupType titleType = ThemeGroupType.MOM,
- Emphasis titleEmphasis = Emphasis.HIGH,
- TextAlign titleTextAlign = TextAlign.center,
- IconData rightIcon = Icons.account_circle,
- bool showRightIcon = true,
- VoidCallback? rightIconClickedCallback,
- ThemeGroupType rightIconType = ThemeGroupType.MOM,
- Emphasis rightIconEmphasis = Emphasis.HIGH,
- Color appBarBackgroundColor = Colors.transparent,
- double appBarElevation = 0.0,
- ShapeBorder appbarShape = const RoundedRectangleBorder(),
- 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
});