ListContentWidget<T extends IdItemInterface> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ListContentWidget
Constructors
-
ListContentWidget({Key? key, required Widget itemBuilder(BuildContext context, T item), Widget groupTitle(T)?, Widget? topWidgetBuilder(BuildContext context)?, Widget? bottomWidgetBuilder(BuildContext context)?, Widget? noItemWidgetBuilder(BuildContext context)?, List<
Comparable> sortProperties(T)?, required bool reverseSort, Comparable groupProperty(T)?, required bool itemsAreSelectable, required bool isItemPicker, required bool multiSelectPicker, void saveRefsToItem(List<DocumentReference< refs)?, required List<Object?> >T> listBuilder(BuildContext context), List<String> searchArguments(T item)?, required IListableCollection<IdItemInterface> collection, bool withCustomScrollbar = false, Widget customScrollbarSmallIndicatorBuilder(BuildContext context, T item)?, Widget customScrollbarBigIndicatorBuilder(BuildContext context, T item)?, void scrollEdgeListener(ScrollEdge edge)?}) -
const
Properties
- bottomWidgetBuilder → (Widget? Function(BuildContext context)?)
-
final
-
collection
→ IListableCollection<
IdItemInterface> -
final
- customScrollbarBigIndicatorBuilder → (Widget Function(BuildContext context, T item)?)
-
final
- customScrollbarSmallIndicatorBuilder → (Widget Function(BuildContext context, T item)?)
-
final
- groupProperty → (Comparable Function(T)?)
-
final
- groupTitle → (Widget Function(T)?)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isItemPicker → bool
-
final
- itemBuilder → Widget Function(BuildContext context, T item)
-
final
- itemsAreSelectable → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
listBuilder
→ List<
T> Function(BuildContext context) -
final
- multiSelectPicker → bool
-
final
- noItemWidgetBuilder → (Widget? Function(BuildContext context)?)
-
final
- reverseSort → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
saveRefsToItem
→ (void Function(List<
DocumentReference< refs)?)Object?> > -
final
- scrollEdgeListener → (void Function(ScrollEdge edge)?)
-
final
-
searchArguments
→ (List<
String> Function(T item)?) -
final
-
sortProperties
→ (List<
Comparable> Function(T)?) -
final
- topWidgetBuilder → (Widget? Function(BuildContext context)?)
-
final
- withCustomScrollbar → bool
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ListContentWidget< T> > -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited