CoolList<T> class

Inheritance
Available extensions

Constructors

CoolList({required List<T> items, required Widget widgetBuilder(T item), String msgOnEmpty = 'Empty List', String? title, bool addDivider = true, bool startWithDivider = true, double gap = 0, bool shrinkWrap = false, Color dividerColor = Colors.grey, Widget? titleWidget, ListReOrderHelper<T>? listReOrderHelper, Key? key})

Properties

addDivider bool
final
dividerColor Color
final
gap double
final
hashCode int
The hash code for this object.
no setterinherited
items List<T>
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
listReOrderHelper ListReOrderHelper<T>?
final
msgOnEmpty String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shrinkWrap bool
final
startWithDivider bool
final
title String?
final
titleWidget Widget?
final
widgetBuilder Widget Function(T item)
final

Methods

border(BuildContext context, {double radius = 5, EdgeInsetsGeometry padding = const EdgeInsets.all(5), Color? borderColor}) Widget

Available on Widget, provided by the WidgetExt extension

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<CoolList<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
expanded({int? flex}) Expanded

Available on Widget, provided by the WidgetExt extension

flexible({int? flex, FlexFit? flexFit}) Flexible

Available on Widget, provided by the WidgetExt extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCenter() Center

Available on Widget, provided by the WidgetExt extension

onRoundedWhiteContainer({Color? bgColor}) Container

Available on Widget, provided by the WidgetExt extension

onSafeArea() Widget

Available on Widget, provided by the WidgetExt extension

onScroll() Widget

Available on Widget, provided by the WidgetExt extension

onWhiteContainer() Container

Available on Widget, provided by the WidgetExt extension

paddingAll(double value) Padding

Available on Widget, provided by the WidgetExt extension

paddingBottom(double value) Padding

Available on Widget, provided by the WidgetExt extension

paddingCustom(EdgeInsetsGeometry padding) Padding

Available on Widget, provided by the WidgetExt extension

paddingHorizontal(double value) Padding

Available on Widget, provided by the WidgetExt extension

paddingLeft(double value) Padding

Available on Widget, provided by the WidgetExt extension

paddingRight(double value) Padding

Available on Widget, provided by the WidgetExt extension

paddingTLBR(double top, double left, double bottom, double right) Padding

Available on Widget, provided by the WidgetExt extension

paddingTop(double value) Padding

Available on Widget, provided by the WidgetExt extension

paddingVertical(double value) Padding

Available on Widget, provided by the WidgetExt extension

paddingVH(double verticalPadding, double horizontalPadding) Padding

Available on Widget, provided by the WidgetExt extension

toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
tooltip(String? text, {TooltipTriggerMode? tooltipTriggerMode}) Widget

Available on Widget, provided by the WidgetExt extension

tooltipMsg(String? text, {TooltipTriggerMode? tooltipTriggerMode}) Widget

Available on Widget, provided by the WidgetExt extension

tooltipOnTap(String? text) Widget

Available on Widget, provided by the WidgetExt extension

toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) 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