FxButton.text constructor

FxButton.text({
  1. required VoidCallback? onPressed,
  2. required Widget child,
  3. MaterialStateProperty<EdgeInsetsGeometry>? msPadding,
  4. EdgeInsetsGeometry? padding = const EdgeInsets.fromLTRB(24, 16, 24, 16),
  5. MaterialStateProperty<EdgeInsetsGeometry>? msShape,
  6. bool? block = false,
  7. OutlinedBorder? shape,
  8. bool soft = false,
  9. BorderRadiusGeometry? borderRadius,
  10. double? borderRadiusAll,
  11. MaterialStateProperty<Color>? msBackgroundColor,
  12. Color? backgroundColor,
  13. FxButtonType? buttonType = FxButtonType.text,
  14. ButtonStyle? style,
  15. MaterialStateProperty<BorderSide>? msSide,
  16. bool? disabled = false,
  17. BorderSide? side,
  18. Color borderColor = Colors.transparent,
  19. MaterialStateProperty<Color>? msShadowColor,
  20. MaterialStateProperty<double>? msElevation,
  21. double? elevation = 4,
  22. Color? shadowColor,
  23. Color? splashColor,
})

Implementation

FxButton.text(
    {required this.onPressed,
    required this.child,
    this.msPadding,
    this.padding = const EdgeInsets.fromLTRB(24, 16, 24, 16),
    this.msShape,
    this.block = false,
    this.shape,
    this.soft = false,
    this.borderRadius,
    this.borderRadiusAll,
    this.msBackgroundColor,
    this.backgroundColor,
    this.buttonType = FxButtonType.text,
    this.style,
    this.msSide,
    this.disabled = false,
    this.side,
    this.borderColor = Colors.transparent,
    this.msShadowColor,
    this.msElevation,
    this.elevation = 4,
    this.shadowColor,
    this.splashColor});