AppBar2 constructor
const
AppBar2({
- Key? key,
- EdgeInsets? padding,
- Widget? leadIcon,
- dynamic onLeadTap()?,
- double? leadIconSize,
- Widget? tail,
- bool isLeadVisible = true,
- String? title,
- TextStyle? titleStyle,
- Widget? child,
- double? leadIconBottomMargin,
- Color? appBarColor,
- bool hasShadow = true,
- bool hasTopSafe = true,
- TextAlign? titleAlign = TextAlign.center,
- String? prefixImage,
- String? suffixImage,
- dynamic onPrefixTap()?,
- dynamic onSuffixTap()?,
- Widget? suffixWidget,
- bool? centerTitle = true,
Implementation
const AppBar2({
super.key,
this.padding,
this.leadIcon,
this.onLeadTap,
this.leadIconSize,
this.tail,
this.isLeadVisible = true,
this.title,
this.titleStyle,
this.child,
this.leadIconBottomMargin,
this.appBarColor,
this.hasShadow = true,
this.hasTopSafe = true,
this.titleAlign = TextAlign.center,
this.prefixImage,
this.suffixImage,
this.onPrefixTap,
this.onSuffixTap,
this.suffixWidget,
this.centerTitle = true,
});