StickySection class
A sticky-header list builder.
Groups items under floating sticky headers while scrolling.
StickyHeaderList(
sections: [
StickySection(
header: Text('A'),
children: [ListTile(title: Text('Apple'))],
),
StickySection(
header: Text('B'),
children: [ListTile(title: Text('Banana'))],
),
],
)
Constructors
-
StickySection({required Widget header, required List<
Widget> children}) -
const
Properties
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