CustomAppBar constructor
const
CustomAppBar({
- Key? key,
- 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,
- bool isDesktop = false,
- double toolbarHeight = 70,
Implementation
const CustomAppBar({
Key? key,
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,
this.isDesktop = false,
this.toolbarHeight = 70,
}) : super(key: key);