PrefLabel constructor

const PrefLabel({
  1. Key? key,
  2. required Widget title,
  3. Decoration? decoration,
  4. Widget? leading,
  5. Widget? subtitle,
  6. VoidCallback? onTap,
  7. EdgeInsetsGeometry? margin,
  8. 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,
});