FCCSectionTitle constructor

const FCCSectionTitle({
  1. Key? key,
  2. required String title,
  3. IconData? icon,
  4. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 12.0),
  5. double spacing = 8.0,
  6. TextStyle? textStyle,
  7. MainAxisAlignment alignment = MainAxisAlignment.start,
  8. Color? iconColor,
  9. double? iconSize = 20.0,
  10. int? maxLines,
  11. TextOverflow? overflow,
  12. bool vertical = false,
  13. Color? backgroundColor,
  14. double backgroundRadius = 8.0,
})

Implementation

const FCCSectionTitle({
  super.key,
  required this.title,
  this.icon,
  this.padding = const EdgeInsets.symmetric(vertical: 12.0),
  this.spacing = 8.0,
  this.textStyle,
  this.alignment = MainAxisAlignment.start,
  this.iconColor,
  this.iconSize = 20.0,
  this.maxLines,
  this.overflow,
  this.vertical = false,
  this.backgroundColor,
  this.backgroundRadius = 8.0,
});