FxButton.text constructor
FxButton.text({
- required VoidCallback? onPressed,
- required Widget child,
- MaterialStateProperty<
EdgeInsetsGeometry> ? msPadding, - EdgeInsetsGeometry? padding = const EdgeInsets.fromLTRB(24, 16, 24, 16),
- MaterialStateProperty<
EdgeInsetsGeometry> ? msShape, - bool? block = false,
- OutlinedBorder? shape,
- bool soft = false,
- BorderRadiusGeometry? borderRadius,
- double? borderRadiusAll,
- MaterialStateProperty<
Color> ? msBackgroundColor, - Color? backgroundColor,
- FxButtonType? buttonType = FxButtonType.text,
- ButtonStyle? style,
- MaterialStateProperty<
BorderSide> ? msSide, - bool? disabled = false,
- BorderSide? side,
- Color borderColor = Colors.transparent,
- MaterialStateProperty<
Color> ? msShadowColor, - MaterialStateProperty<
double> ? msElevation, - double? elevation = 4,
- Color? shadowColor,
- 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});