AppBarOptions class
Constructors
- AppBarOptions({Widget? flexibleSpace, PreferredSizeWidget? bottom, bool? primary, AppBarTheme? theme, double? collapsedHeight, double? expandedHeight, bool? floating, bool? pinned, bool? snap, bool? stretch, double? stretchTriggerOffset, AsyncCallback? onStretchTrigger, InputDecoration inputDecoration(bool loading)?, Widget buildDrawerIcon(VoidCallback toggle, AnimationController expansion)?})
-
const
Properties
- bottom → PreferredSizeWidget?
-
This property is used to configure an AppBar.
final
- buildDrawerIcon → (Widget Function(VoidCallback toggle, AnimationController expansion)?)
-
override the default drawer icon
final
- collapsedHeight → double?
-
Defines the height of the app bar when it is collapsed.
final
- expandedHeight → double?
-
The size of the app bar when it is fully expanded.
final
- flexibleSpace → Widget?
-
This property is used to configure an AppBar.
final
- floating → bool?
-
Whether the app bar should become visible as soon as the user scrolls
towards the app bar.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputDecoration → (InputDecoration Function(bool loading)?)
-
decoration of search box
final
- onStretchTrigger → AsyncCallback?
-
The callback function to be executed when a user over-scrolls to the
offset specified by stretchTriggerOffset.
final
- pinned → bool?
-
Whether the app bar should remain visible at the start of the scroll view.
final
- primary → bool?
-
This property is used to configure an AppBar.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snap → bool?
-
If snap and floating are true then the floating app bar will "snap"
into view.
final
- stretch → bool?
-
Whether the app bar should stretch to fill the over-scroll area.
final
- stretchTriggerOffset → double?
-
The offset of overScroll required to activate onStretchTrigger.
final
- theme → AppBarTheme?
-
Theme to be applied to app bar
final
Methods
-
copyWith(
{AppBarTheme? theme, InputDecoration inputDecoration(bool loading)?, Widget? flexibleSpace, PreferredSizeWidget? bottom, bool? primary, double? collapsedHeight, double? expandedHeight, bool? floating, bool? pinned, bool? snap, bool? stretch, double? stretchTriggerOffset, AsyncCallback? onStretchTrigger, Widget buildDrawerIcon(VoidCallback toggle, AnimationController expansion)?}) → AppBarOptions -
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