FTileGroup class

A tile group that groups multiple FTileMixins and FTileGroupMixins together.

Tiles grouped together will be separated by a divider, specified by divider.

See:

Inheritance
Mixed-in types

Constructors

FTileGroup({required List<FTileMixin> children, FTileGroupStyle? style, ScrollController? controller, double? cacheExtent, double maxHeight = double.infinity, DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool? enabled, FTileDivider divider = FTileDivider.indented, String? semanticLabel, Widget? label, Widget? description, Widget? error, Key? key})
Creates a FTileGroup.
FTileGroup.builder({required NullableIndexedWidgetBuilder tileBuilder, int? count, FTileGroupStyle? style, ScrollController? controller, double? cacheExtent, double maxHeight = double.infinity, DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool? enabled, FTileDivider divider = FTileDivider.indented, String? semanticLabel, Widget? label, Widget? description, Widget? error, Key? key})
Creates a FTileGroup that lazily builds its children.

Properties

cacheExtent double?
The cache extent in logical pixels.
final
controller ScrollController?
The scroll controller used to control the position to which this group is scrolled.
final
delegate SliverChildDelegate Function(FTileStyle style, {required bool enabled})
The delegate.
final
description Widget?
The description below the group.
final
divider FTileDivider
The divider between tiles. Defaults to FTileDivider.indented.
final
dragStartBehavior DragStartBehavior
Determines the way that drag start behavior is handled. Defaults to DragStartBehavior.start.
final
enabled bool?
True if the group is enabled. Defaults to true.
final
error Widget?
The error below the description.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label Widget?
The label above the group.
final
maxHeight double
The max height, in logical pixels. Defaults to infinity.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel String?
The group's semantic label.
final
style FTileGroupStyle?
The style.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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.
override
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, 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

Static Methods

merge({required List<FTileGroupMixin<FTileMixin>> children, FTileGroupStyle? style, ScrollController? controller, double? cacheExtent, double maxHeight = double.infinity, DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool enabled = true, FTileDivider divider = FTileDivider.full, String? semanticLabel, Widget? label, Widget? description, Widget? error, Key? key}) FTileGroupMixin<FTileGroupMixin<FTileMixin>>
Creates a FTileGroup that merges multiple FTileGroupMixins together.