FlightBadge constructor

const FlightBadge({
  1. Key? key,
  2. required String text,
  3. Color? backgroundColor,
  4. EdgeInsetsGeometry? padding,
  5. double? width,
  6. double? height,
  7. TextStyle? textStyle,
  8. Alignment? alignment,
  9. double? borderRadius,
  10. BoxConstraints? constraints,
  11. Widget? child,
})

Implementation

const FlightBadge(
    {super.key,
    required this.text,
    this.backgroundColor,
    this.padding,
    this.width,
    this.height,
    this.textStyle,
    this.alignment,
    this.borderRadius,
    this.constraints,
    this.child,
    });