UnitedShareAppBarWidget constructor
const
UnitedShareAppBarWidget({
- Key? key,
- Widget? leading,
- bool automaticallyImplyLeading = false,
- required dynamic onBackButtonTapped(
- BuildContext context
- required Widget title,
- TextStyle? titleTextStyle,
- List<
Widget> ? actions, - bool centerTitle = false,
- double toolbarHeight = 60,
- double toolbarOpacity = 1,
- ShapeBorder? shapeBorder,
- double? elevation = 8,
- Color? backgroundColor,
- double? leadingWidth = 56,
- IconThemeData? actionsIconTheme = const IconThemeData(color: Colors.black, size: 36),
- Color? shadowColor,
- double sideMargin = 0,
- Gradient? gradient,
- BorderRadiusGeometry? gradientRadius,
- Color? statusBarColor,
Implementation
const UnitedShareAppBarWidget(
{Key? key,
this.leading,
this.automaticallyImplyLeading = false,
required this.onBackButtonTapped,
required this.title,
this.titleTextStyle,
this.actions,
this.centerTitle = false,
this.toolbarHeight = 60,
this.toolbarOpacity = 1,
this.shapeBorder,
this.elevation = 8,
this.backgroundColor,
this.leadingWidth = 56,
this.actionsIconTheme =
const IconThemeData(color: Colors.black, size: 36),
this.shadowColor,
this.sideMargin = 0,
this.gradient,
this.gradientRadius,
this.statusBarColor})
: super(key: key);