SectionLabel constructor
const
SectionLabel({
- required String label,
- String? actionLabel,
- bool? isCentered,
- VoidCallback? onActionTapped,
- Widget? labelSuffix,
- int? maxLines,
- EdgeInsets padding = const EdgeInsets.fromLTRB(16, 12, 16, 16),
- Color backgroundColor = Colors.transparent,
- 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,
});