Skip to content
On this page

ListGroup

A grouped collection of rows with labels and actions.

ListGroup in FluttyUIListGroup in FluttyUI dark theme

Import

import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;

API Reference

The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.

ListGroup

const ListGroup({
  super.key,
  required this.children,
  this.size,
  this.padding = EdgeInsets.zero,
  this.spacing = 0,
  this.backgroundColor,
  this.borderColor,
  this.borderRadius,
  this.showBorder = false,
  this.showDividers = true,
  this.dividerColor,
});
ParameterTypeRequiredDefault
keyKey?Nonull
childrenList<Widget>Yes—
sizeComponentSize?Nonull
paddingEdgeInsetsGeometryNoEdgeInsets.zero
spacingdoubleNo0
backgroundColorColor?Nonull
borderColorColor?Nonull
borderRadiusdouble?Nonull
showBorderboolNofalse
showDividersboolNotrue
dividerColorColor?Nonull

Application Setup

Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.

Source

lib/src/widgets/navigation/list_group/list_group.dart

This reference is generated from the ListGroup declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

DartFlutter

Get started with FluttyUI