SectionLabel constructor

const SectionLabel({
  1. required String label,
  2. String? actionLabel,
  3. bool? isCentered,
  4. VoidCallback? onActionTapped,
  5. Widget? labelSuffix,
  6. int? maxLines,
  7. EdgeInsets padding = const EdgeInsets.fromLTRB(16, 12, 16, 16),
  8. Color backgroundColor = Colors.transparent,
  9. Key? key,
})

Implementation

const SectionLabel({
  required this.label,
  this.actionLabel,
  this.isCentered,
  this.onActionTapped,
  this.labelSuffix,
  this.maxLines,
  this.padding = const EdgeInsets.fromLTRB(16, 12, 16, 16),
  this.backgroundColor = Colors.transparent,
  super.key,
});