UIExpansionThemeData.config constructor

const UIExpansionThemeData.config({
  1. double? contentSpacing = 12,
  2. double? leadingSpacing = 12,
  3. double? titleSpacing = 2,
  4. Color? backgroundColor = Colors.black12,
  5. Color? foregroundColor = Colors.black,
  6. TextStyle? titleStyle = const TextStyle(fontSize: 14),
  7. TextStyle? subtitleStyle = const TextStyle(fontSize: 16),
  8. 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,
  ),
});