PrefLabel constructor
const
PrefLabel({
- Key? key,
- required Widget title,
- Decoration? decoration,
- Widget? leading,
- Widget? subtitle,
- VoidCallback? onTap,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
Create a label
Implementation
const PrefLabel({
super.key,
required this.title,
this.decoration,
this.leading,
this.subtitle,
this.onTap,
this.margin,
this.padding,
});