FxButton class
Constructors
-
FxButton({VoidCallback? onPressed, required Widget child, MaterialStateProperty<EdgeInsetsGeometry>? msPadding, EdgeInsetsGeometry? padding, MaterialStateProperty<EdgeInsetsGeometry>? msShape, OutlinedBorder? shape, BorderRadiusGeometry? borderRadius, double? borderRadiusAll = 0, MaterialStateProperty<Color>? msBackgroundColor, Color? backgroundColor, FxButtonType? buttonType = FxButtonType.elevated, ButtonStyle? style, MaterialStateProperty<Color>? msShadowColor, MaterialStateProperty<BorderSide>? msSide, BorderSide? side, Color borderColor = Colors.transparent, bool? disabled = false, bool? block = false, bool soft = false, MaterialStateProperty<double>? msElevation, double? elevation = 4, Color? shadowColor, Color? splashColor})
-
-
FxButton.block({required VoidCallback? onPressed, required Widget child, MaterialStateProperty<EdgeInsetsGeometry>? msPadding, EdgeInsetsGeometry? padding = const EdgeInsets.fromLTRB(24, 16, 24, 16), MaterialStateProperty<EdgeInsetsGeometry>? msShape, bool? block = true, OutlinedBorder? shape, bool soft = false, BorderRadiusGeometry? borderRadius, double? borderRadiusAll, MaterialStateProperty<Color>? msBackgroundColor, Color? backgroundColor, FxButtonType? buttonType = FxButtonType.elevated, 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})
-
-
FxButton.large({required VoidCallback? onPressed, required Widget child, MaterialStateProperty<EdgeInsetsGeometry>? msPadding, EdgeInsetsGeometry? padding = const EdgeInsets.fromLTRB(36, 20, 36, 20), MaterialStateProperty<EdgeInsetsGeometry>? msShape, OutlinedBorder? shape, bool soft = false, BorderRadiusGeometry? borderRadius, double? borderRadiusAll, MaterialStateProperty<Color>? msBackgroundColor, Color? backgroundColor, FxButtonType? buttonType = FxButtonType.elevated, ButtonStyle? style, bool? disabled = false, MaterialStateProperty<BorderSide>? msSide, BorderSide? side, bool? block = false, Color borderColor = Colors.transparent, MaterialStateProperty<Color>? msShadowColor, MaterialStateProperty<double>? msElevation, double? elevation = 4, Color? shadowColor, Color? splashColor})
-
-
FxButton.medium({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.elevated, 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})
-
-
FxButton.outlined({required VoidCallback? onPressed, required Widget child, MaterialStateProperty<EdgeInsetsGeometry>? msPadding, EdgeInsetsGeometry? padding = const EdgeInsets.fromLTRB(24, 16, 24, 16), MaterialStateProperty<EdgeInsetsGeometry>? msShape, bool soft = false, OutlinedBorder? shape, BorderRadiusGeometry? borderRadius, double? borderRadiusAll, MaterialStateProperty<Color>? msBackgroundColor, Color? backgroundColor, FxButtonType? buttonType = FxButtonType.outlined, ButtonStyle? style, MaterialStateProperty<BorderSide>? msSide, bool? block = false, BorderSide? side, bool? disabled = false, Color borderColor = Colors.transparent, MaterialStateProperty<Color>? msShadowColor, MaterialStateProperty<double>? msElevation, double? elevation = 4, Color? shadowColor, Color? splashColor})
-
-
FxButton.rounded({required VoidCallback? onPressed, required Widget child, MaterialStateProperty<EdgeInsetsGeometry>? msPadding, EdgeInsetsGeometry? padding, MaterialStateProperty<EdgeInsetsGeometry>? msShape, OutlinedBorder? shape, BorderRadiusGeometry? borderRadius, double? borderRadiusAll, MaterialStateProperty<Color>? msBackgroundColor, Color? backgroundColor, FxButtonType? buttonType = FxButtonType.elevated, ButtonStyle? style, bool? block = false, MaterialStateProperty<BorderSide>? msSide, bool? disabled = false, BorderSide? side, bool soft = false, Color borderColor = Colors.transparent, MaterialStateProperty<Color>? msShadowColor, MaterialStateProperty<double>? msElevation, double? elevation = 4, Color? shadowColor, Color? splashColor})
-
-
FxButton.small({required VoidCallback? onPressed, required Widget child, MaterialStateProperty<EdgeInsetsGeometry>? msPadding, EdgeInsetsGeometry? padding = const EdgeInsets.fromLTRB(8, 4, 8, 4), MaterialStateProperty<EdgeInsetsGeometry>? msShape, OutlinedBorder? shape, BorderRadiusGeometry? borderRadius, double? borderRadiusAll, MaterialStateProperty<Color>? msBackgroundColor, Color? backgroundColor, FxButtonType? buttonType = FxButtonType.elevated, ButtonStyle? style, bool? block = false, MaterialStateProperty<BorderSide>? msSide, bool soft = false, bool? disabled = false, BorderSide? side, Color borderColor = Colors.transparent, MaterialStateProperty<Color>? msShadowColor, MaterialStateProperty<double>? msElevation, double? elevation = 4, Color? shadowColor, Color? splashColor})
-
-
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})
-