FLabel constructor

const FLabel({
  1. required Axis axis,
  2. required Widget child,
  3. FLabelStyle? style,
  4. Widget? label,
  5. Widget? description,
  6. Widget? error,
  7. FLabelState state = FLabelState.enabled,
  8. Key? key,
})

Creates a FLabel.

Implementation

const FLabel({
  required this.axis,
  required this.child,
  this.style,
  this.label,
  this.description,
  this.error,
  this.state = FLabelState.enabled,
  super.key,
});