TButtonGroup constructor
const
TButtonGroup({
- Key? key,
- TButtonGroupTheme? theme,
- TButtonGroupType? type,
- Color? color,
- TButtonSize? size,
- List<
TButtonGroupItem> items = const [], - WrapAlignment alignment = WrapAlignment.start,
Implementation
const TButtonGroup({
super.key,
this.theme,
this.type,
this.color,
this.size,
this.items = const [],
this.alignment = WrapAlignment.start,
}) : assert(
theme == null || (type == null && size == null && color == null),
'If theme is provided, type, color and size must be null.',
);