Tile Group
A tile group that typically groups related information together.
Preview
CLI
To generate and customize this style:
dart run forui style create tile-groupUsage
FTileGroup(...)
FTileGroup(
children: [],
style: (style) => style.copyWith(...),
scrollController: ScrollController(),
cacheExtent: 100,
maxHeight: 200,
dragStartBehavior: DragStartBehavior.start,
physics: const ClampingScrollPhysics(),
enabled: true,
divider: FItemDivider.indented,
semanticsLabel: 'Settings',
label: const Text('Settings'),
description: const Text('Personalize your experience'),
error: const Text('Error message'),
);FTileGroup.builder(...)
FTileGroup.builder(
tileBuilder: (context, index) => FTile(title: Text('Tile $index')),
count: 100,
style: (style) => style.copyWith(...),
scrollController: ScrollController(),
cacheExtent: 100,
maxHeight: 200,
dragStartBehavior: DragStartBehavior.start,
physics: const ClampingScrollPhysics(),
enabled: true,
divider: FItemDivider.indented,
semanticsLabel: 'Settings',
label: const Text('Settings'),
description: const Text('Personalize your experience'),
error: const Text('Error message'),
);FTileGroup.merge(...)
FTileGroup.merge(
children: [],
style: (style) => style.copyWith(...),
scrollController: ScrollController(),
cacheExtent: 100,
maxHeight: 200,
dragStartBehavior: DragStartBehavior.start,
physics: const ClampingScrollPhysics(),
enabled: true,
divider: FItemDivider.full,
semanticsLabel: 'Settings',
label: const Text('Settings'),
description: const Text('Personalize your experience'),
error: const Text('Error message'),
);Examples
Behavior
Scrollable
Preview
Lazy Scrollable
Preview
Merge Multiple Groups
This function merges multiple FTileGroupMixins into a single group. It is useful for representing a group with
several sections.
Preview
Appearance
Full Divider
Preview
No Divider
Preview
Last updated on