AppBarParameters class
Contains parameters to customize the AppBar.
It includes all the same arguments as the AppBar(), excepting the 'bottom' which is managed by the TabsNavigationBuilder.
See also:
Constructors
-
AppBarParameters({Widget? leading, bool automaticallyImplyLeading = true, Widget? title, List<
Widget> ? actions, Widget? flexibleSpace, double? elevation, double? scrolledUnderElevation, Color? shadowColor, Color? surfaceTintColor, ShapeBorder? shape, Color? backgroundColor, Color? foregroundColor, IconThemeData? iconTheme, IconThemeData? actionsIconTheme, bool primary = true, bool? centerTitle, bool excludeHeaderSemantics = false, double? titleSpacing, double toolbarOpacity = 1.0, double bottomOpacity = 1.0, double? toolbarHeight, double? leadingWidth, TextStyle? toolbarTextStyle, TextStyle? titleTextStyle, SystemUiOverlayStyle? systemOverlayStyle}) -
Create a AppBarParameters instance.
const
Properties
-
actions
→ List<
Widget> ? -
AppBar.actions
final
- actionsIconTheme → IconThemeData?
-
AppBar.actionsIconTheme
final
- automaticallyImplyLeading → bool
-
AppBar.leading
final
- backgroundColor → Color?
-
AppBar.backgroundColor
final
- bottomOpacity → double
-
AppBar.bottomOpacity
final
- centerTitle → bool?
-
AppBar.centerTitle
final
- elevation → double?
-
AppBar.elevation
final
- excludeHeaderSemantics → bool
-
AppBar.excludeHeaderSemantics
final
- flexibleSpace → Widget?
-
AppBar.flexibleSpace
final
- foregroundColor → Color?
-
AppBar.foregroundColor
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconTheme → IconThemeData?
-
AppBar.iconTheme
final
- leading → Widget?
-
AppBar.leading
final
- leadingWidth → double?
-
AppBar.leadingWidth
final
- primary → bool
-
AppBar.primary
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrolledUnderElevation → double?
-
AppBar.scrolledUnderElevation
final
- shadowColor → Color?
-
AppBar.shadowColor
final
- shape → ShapeBorder?
-
AppBar.shape
final
- surfaceTintColor → Color?
-
AppBar.surfaceTintColor
final
- systemOverlayStyle → SystemUiOverlayStyle?
-
AppBar.systemOverlayStyle
final
- title → Widget?
-
AppBar.title
final
- titleSpacing → double?
-
AppBar.titleSpacing
final
- titleTextStyle → TextStyle?
-
AppBar.titleTextStyle
final
- toolbarHeight → double?
-
AppBar.toolbarHeight
final
- toolbarOpacity → double
-
AppBar.toolbarOpacity
final
- toolbarTextStyle → TextStyle?
-
AppBar.toolbarTextStyle
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited