VentButton class
Constructors
-
VentButton({Key? key, dynamic onTap()?, double elevation = 0, double? borderRadius, required String text, TextStyle? customTextStyle, Color? primaryColor, Color? splashColor = Colors.white, Color? textColor = Colors.white, double? minimumWidth, double? minimumHeight, EdgeInsets? padding, MaterialTapTargetSize tapTargetSize = MaterialTapTargetSize.shrinkWrap, Color? shadowColor, Color? disabledBackgroundColor, bool? isDisabled, bool? isLoadingButton = false, Color? outlinedColor})
-
const
-
VentButton.child({Key? key, dynamic onTap()?, double elevation = 4, double? borderRadius, required Widget? child, double? minimumHeight, Color? shadowColor, Color? disabledBackgroundColor, Color? primaryColor, Color? splashColor = Colors.white, double? minimumWidth, MaterialTapTargetSize tapTargetSize = MaterialTapTargetSize.shrinkWrap, EdgeInsets? padding, bool? isDisabled, bool? isLoadingButton = false})
-
const
-
VentButton.gradient({Key? key, dynamic onTap()?, double elevation = 0, TextStyle? customTextStyle, double? borderRadius, Color? shadowColor, Color? disabledBackgroundColor, Color? textColor = Colors.white, required String text, double? minimumHeight, Color? primaryColor = Colors.white, Color? outlinedColor = Colors.transparent, Color? splashColor, double? minimumWidth, MaterialTapTargetSize tapTargetSize = MaterialTapTargetSize.shrinkWrap, EdgeInsets? padding, bool? isDisabled = false, Gradient? gradient, bool? isLoadingButton = false, required List<Color>? gradientColor})
-
const
-
VentButton.gradientChild({Key? key, dynamic onTap()?, double elevation = 4, double? borderRadius, required Widget? child, double? minimumHeight, Color? shadowColor, Color? disabledBackgroundColor, Color? primaryColor, Color? splashColor = Colors.white, double? minimumWidth, MaterialTapTargetSize tapTargetSize = MaterialTapTargetSize.shrinkWrap, EdgeInsets? padding, bool? isDisabled, bool? isLoadingButton = false, required List<Color>? gradientColor})
-
const
-
VentButton.outlined({Key? key, dynamic onTap()?, double elevation = 0, TextStyle? customTextStyle, double? borderRadius, Color? shadowColor, Color? disabledBackgroundColor, Color? textColor, required String text, double? minimumHeight, Color? primaryColor = Colors.white, Color? outlinedColor, Color? splashColor, double? minimumWidth, MaterialTapTargetSize tapTargetSize = MaterialTapTargetSize.shrinkWrap, EdgeInsets? padding, bool? isDisabled, bool? isLoadingButton = false})
-
const
-
VentButton.outlinedChild({Key? key, dynamic onTap()?, double elevation = 4, double? borderRadius, required Widget? child, double? minimumHeight, Color? primaryColor = Colors.white, Color? outlinedColor, Color? splashColor, double? minimumWidth, Color? shadowColor, Color? disabledBackgroundColor, MaterialTapTargetSize tapTargetSize = MaterialTapTargetSize.shrinkWrap, EdgeInsets? padding, bool? isDisabled, bool? isLoadingButton = false})
-
const
-
VentButton.textOnly({Key? key, dynamic onTap()?, double elevation = 0, TextStyle? customTextStyle, double? borderRadius, Color? shadowColor, Color? disabledBackgroundColor, Color? textColor = Colors.white, required String text, double? minimumHeight, Color? primaryColor, Color? outlinedColor = Colors.transparent, Color? splashColor, double? minimumWidth, MaterialTapTargetSize tapTargetSize = MaterialTapTargetSize.shrinkWrap, EdgeInsets? padding, bool? isDisabled, bool? isLoadingButton = false})
-
const