UIExpansionThemeData.config constructor
const
UIExpansionThemeData.config({
- double? contentSpacing = 12,
- double? leadingSpacing = 12,
- double? titleSpacing = 2,
- Color? backgroundColor = Colors.black12,
- Color? foregroundColor = Colors.black,
- TextStyle? titleStyle = const TextStyle(fontSize: 14),
- TextStyle? subtitleStyle = const TextStyle(fontSize: 16),
- UIIconThemeData? actionIcon = const UIIconThemeData(iconSize: 7.5, containerSize: 16),
Implementation
const UIExpansionThemeData.config({
this.contentSpacing = 12,
this.leadingSpacing = 12,
this.titleSpacing = 2,
this.backgroundColor = Colors.black12,
this.foregroundColor = Colors.black,
this.titleStyle = const TextStyle(fontSize: 14),
this.subtitleStyle = const TextStyle(fontSize: 16),
this.actionIcon = const UIIconThemeData(
iconSize: 7.5,
containerSize: 16,
),
});