WidgetButtonX extension
Methods
-
cupertinoBtn({Key? key, EdgeInsetsGeometry? padding, Color? color, Color disabledColor = CupertinoColors.quaternarySystemFill, double minSize = kMinInteractiveDimensionCupertino, double? pressedOpacity = 0.4, BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(8.0)), Alignment alignment = Alignment.center, VoidCallback? onPressed})
→ CupertinoButton
-
see CupertinoButton
-
elevatedBtn({Key? key, VoidCallback? onPressed, VoidCallback? onLongPress, ValueChanged<bool>? onHover, ValueChanged<bool>? onFocusChange, ButtonStyle? style, FocusNode? focusNode, bool autofocus = false, Clip clip = Clip.none, MaterialStatesController? statesController})
→ ElevatedButton
-
see ElevatedButton
-
iconBtn({Key? key, double? iconSize, VisualDensity? visualDensity, EdgeInsetsGeometry padding = const EdgeInsets.all(8.0), AlignmentGeometry alignment = Alignment.center, double? splashRadius, Color? color, Color? focusColor, Color? hoverColor, Color? highlightColor, Color? splashColor, Color? disabledColor, VoidCallback? onPressed, MouseCursor? mouseCursor, FocusNode? focusNode, bool autofocus = false, String? tooltip, bool enableFeedback = true, BoxConstraints? constraints, ButtonStyle? style, bool? isSelected, Widget? selectedIcon})
→ IconButton
-
see IconButton
-
textBtn({Key? key, VoidCallback? onPressed, VoidCallback? onLongPress, ValueChanged<bool>? onHover, ValueChanged<bool>? onFocusChange, ButtonStyle? style, FocusNode? focusNode, bool autofocus = false, Clip clip = Clip.none, MaterialStatesController? statesController})
→ TextButton
-
see TextButton