ListOptions class
Options for the list of the AlphabetListView.
Constructors
- ListOptions({Color? backgroundColor, double? topOffset, EdgeInsets? padding, ScrollPhysics? physics, bool showSectionHeader = true, bool stickySectionHeader = true, bool showSectionHeaderForEmptySections = false, Widget? beforeList, Widget? afterList, SymbolBuilder? listHeaderBuilder})
-
Constructor of ListOptions
const
Properties
- afterList → Widget?
-
Optional Widget after the list.
final
- backgroundColor → Color?
-
Optional background color.
final
- beforeList → Widget?
-
Optional Widget before the list.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- listHeaderBuilder → SymbolBuilder?
-
Builder function for headers.
final
- padding → EdgeInsets?
-
Padding around the list.
final
- physics → ScrollPhysics?
-
Custom scroll physics.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showSectionHeader → bool
-
Show the header above the items.
final
- showSectionHeaderForEmptySections → bool
-
Show headers for sections without child widgets.
final
- stickySectionHeader → bool
-
Use sticky headers.
final
- topOffset → double?
-
Sets an offset to the upper edge.
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