UIButton class

Constructors

UIButton()

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({UIButtonDefaults? as, String? label, Color? labelColor, required Function onPressed, Color? borderColor, Color? bgColor, double? borderRadius, double? borderWidth, double? elevation, double? widthFactor, Widget? icon}) Widget
Outlined Button
solid({UIButtonDefaults? as, String? label, Color? labelColor, required Function onPressed, Color? bgColor, double? borderRadius, double? elevation, double? widthFactor, Widget? icon, Color? shadowColor}) Widget
Outlined Button