FRaisedButton constructor

const FRaisedButton({
  1. Key? key,
  2. Widget? child,
  3. String? text,
  4. VoidCallback? onPressed,
  5. double borderRadius = 5,
  6. Color? color,
  7. TextStyle? textStyle = const TextStyle(color: Color(0xFFF4F4F4), fontSize: SizeConstants.fontSizeButton),
  8. BorderSide borderSide = BorderSide.none,
})

Implementation

const FRaisedButton(
    {Key? key,
    this.child,
    this.text,
    this.onPressed,
    this.borderRadius = 5,
    this.color,
    this.textStyle = const TextStyle(
        color: Color(0xFFF4F4F4), fontSize: SizeConstants.fontSizeButton),
    this.borderSide = BorderSide.none})
    : super(key: key);