xAppBar method
PreferredSizeWidget
xAppBar
(- {Widget leading,
- bool automaticallyImplyLeading,
- List<Widget> actions,
- Gradient gradient,
- PreferredSizeWidget bottom,
- double elevation,
- ShapeBorder shape,
- Brightness brightness,
- IconThemeData iconTheme,
- IconThemeData actionsIconTheme,
- TextTheme textTheme,
- bool primary,
- bool centerTitle,
- double titleSpacing,
- double toolbarOpacity,
- double bottomOpacity,
- DecorationImage image,
- @override Size preferredSize,
- Color backgroundColor,
- Key key}
)
Implementation
PreferredSizeWidget xAppBar(
{final Widget leading,
final bool automaticallyImplyLeading,
final List<Widget> actions,
final Gradient gradient,
final PreferredSizeWidget bottom,
final double elevation,
final ShapeBorder shape,
final Brightness brightness,
final IconThemeData iconTheme,
final IconThemeData actionsIconTheme,
final TextTheme textTheme,
final bool primary,
final bool centerTitle,
final double titleSpacing,
final double toolbarOpacity,
final double bottomOpacity,
final DecorationImage image,
@override final Size preferredSize,
Color backgroundColor,
final Key key}) {
return AppbarGadient(
backgroundColor: backgroundColor,
actions: actions,
automaticallyImplyLeading: automaticallyImplyLeading ?? true,
actionsIconTheme: actionsIconTheme,
centerTitle: centerTitle,
title: this,
bottom: bottom,
bottomOpacity: bottomOpacity ?? 1.0,
toolbarOpacity: toolbarOpacity ?? 1.0,
titleSpacing: titleSpacing ?? NavigationToolbar.kMiddleSpacing,
iconTheme: iconTheme,
brightness: brightness,
elevation: elevation,
leading: leading,
primary: primary ?? true,
shape: shape,
textTheme: textTheme,
gradient: gradient,
image: image,
key: key,
);
}