Label constructor

const Label({
  1. Key? key,
  2. Widget? leading,
  3. required Widget child,
  4. Widget? trailing,
})

Implementation

const Label({
  super.key,
  this.leading,
  required this.child,
  this.trailing,
});