ZwapButtonChild class

To set colors see ZwapButtonDecorations

Constructors

ZwapButtonChild.customIcon({required Widget icon(ZwapButtonStatusDescription), int iconSize = 24})
ZwapButtonChild.icon({required IconData icon, int iconSize = 24})
ZwapButtonChild.text({required String text, int fontSize = 14, FontWeight fontWeight = FontWeight.w400})
ZwapButtonChild.textWithCustomIcon({required String text, required Widget icon(ZwapButtonStatusDescription), double spaceBetween = 5, int fontSize = 14, FontWeight fontWeight = FontWeight.w400, ZwapButtonIconPosition iconPosition = ZwapButtonIconPosition.left})
ZwapButtonChild.textWithIcon({required String text, required IconData icon, int fontSize = 14, FontWeight fontWeight = FontWeight.w400, double spaceBetween = 5, int iconSize = 24, ZwapButtonIconPosition iconPosition = ZwapButtonIconPosition.left})

Properties

fontSize int
final
fontWeight FontWeight
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
final
iconPosition ZwapButtonIconPosition
final
iconSize int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaceBetween double
final
text String?
final

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