ButtonBuilder class

Constructors

ButtonBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

assetsIconButton({required String icon, double? width, double? height, double? size, Color? color, VoidCallback? onPressed, double iconSize = iconSize}) Widget
assetsImageButton(String name, {double? width, double? height, VoidCallback? onPressed, BoxFit? fit}) Widget
blueGradientButton({required String text, Color textColor = Colors.white, double? width, double? height = 45, double radius = 30, double fontSize = 14, EdgeInsetsGeometry? padding, VoidCallback? onPressed}) Widget
gradientButton({required String text, Color? textColor, double width = double.infinity, double? height, double radius = 20, double? fontSize, VoidCallback? onPressed, Gradient? gradient, Color? borderColor, FontWeight? fontWeight, List<BoxShadow>? boxShadows}) Widget
gradientButton2({required String text, Color textColor = Colors.white, double? width, double? height, double radius = buttonRadius, double fontSize = buttonFontSize, VoidCallback? onPressed, Gradient? gradient, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, Color? borderColor}) Widget
iconButton(IconData icon, {double? width, double? height, double? size, Color? color, VoidCallback? onPressed, double iconSize = iconSize, EdgeInsetsGeometry padding = EdgeInsets.zero}) Widget
iconTextButton({required String icon, required String text, double iconSize = iconSize, Color textColor = Colors.black, double fontSize = buttonFontSize, double? width, double? height, double? size, double space = 0.0, TextOverflow? overflow, Axis directory = Axis.horizontal, VoidCallback? onPressed, bool isInfinity = false, EdgeInsetsGeometry padding = const EdgeInsets.all(8.0)}) Widget
normalButton(String text, {double? width, double? height, double? size, AlignmentGeometry? alignment, Color backgroundColor = Colors.blue, Color textColor = Colors.white, double fontSize = buttonFontSize, double radius = buttonRadius, VoidCallback? onPressed, EdgeInsetsGeometry padding = const EdgeInsets.all(8.0)}) Widget
normalButton2({required Widget child, double? width, double? height, double? size, Color backgroundColor = Colors.blue, Color textColor = Colors.white, double fontSize = buttonFontSize, double radius = buttonRadius, VoidCallback? onPressed, EdgeInsetsGeometry padding = const EdgeInsets.all(8.0)}) Widget
orangeGradientButton({required String text, Color textColor = Colors.white, double? width, double? height = 45, double radius = 30, double fontSize = 14, EdgeInsetsGeometry? padding, VoidCallback? onPressed}) Widget
outlinedButton(String text, {double? width, double? height, double? size, Color color = Colors.white, Color sideColor = Colors.black12, Color bgColor = Colors.transparent, double fontSize = buttonFontSize, double radius = buttonRadius, VoidCallback? onPressed, AlignmentGeometry? alignment, EdgeInsetsGeometry padding = const EdgeInsets.all(8.0), double borderWidth = dividerSize}) Widget
purpleGradientButton({required String text, Color textColor = Colors.white, double? width, double? height = 45, double radius = 30, double fontSize = 14, EdgeInsetsGeometry? padding, VoidCallback? onPressed}) Widget
textButton(String text, {double? width, double? height, double? size, Color textColor = Colors.black, double fontSize = buttonFontSize, FontWeight? fontWeight, TextOverflow? overflow, VoidCallback? onPressed, AlignmentGeometry? alignment, TextDecoration? decoration, EdgeInsetsGeometry padding = const EdgeInsets.all(8.0)}) Widget