UKitButton class

Constructors

UKitButton.new()

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

native({Function? onPressed, String? label, Color? labelColor, Color? bgColor, double? widthFactor}) Widget
Native Buttons
outlined({UKitButtonBuilder? as, String? label, Color? labelColor, TextStyle? labelStyle, required Function onPressed, Color? borderColor, Color? bgColor, double? borderRadius, double? borderWidth, double? elevation, double? widthFactor, Widget? icon, bool loading = false}) Widget
Outlined Button
soft({UKitButtonBuilder? as, String? label, TextStyle? labelStyle, required Function onPressed, required Color color, double? borderRadius, double? elevation, double? widthFactor, Widget? icon, Color? shadowColor, bool loading = false}) Widget
Soft Button
solid({UKitButtonBuilder? as, String? label, Color? labelColor, TextStyle? labelStyle, required Function onPressed, Color? bgColor, double? borderRadius, double? elevation, double? widthFactor, Widget? icon, Color? shadowColor, bool loading = false}) Widget
Solid Button