CustomAppBar constructor
const
CustomAppBar({
- String? titleText,
- bool showTitle = false,
- bool showBackButton = false,
- bool showLeadingIcon = false,
- bool showTrailingIcon = false,
- Widget? trailingIcon,
- double elevation = 0,
- Function? onTrailingIconPressed,
- Widget? leadingIcon,
- Color? appBarColor,
- TextStyle? backTextStyle,
- TextStyle? titleTextStyle,
- Function? onLeadingIconPressed,
- bool closeOnRight = false,
Implementation
const CustomAppBar({
this.titleText,
this.showTitle = false,
this.showBackButton = false,
this.showLeadingIcon = false,
this.showTrailingIcon = false,
this.trailingIcon,
this.elevation = 0,
this.onTrailingIconPressed,
this.leadingIcon,
this.appBarColor,
this.backTextStyle,
this.titleTextStyle,
this.onLeadingIconPressed,
this.closeOnRight = false,
});