ButtonInfo class

Annotations
  • @JsonSerializable()

Constructors

ButtonInfo.new({required String key, IconData? iconData, Color? color, int type = ConstantParam.btnRaise, double? fontSize, required String text, Color? bgColor, Color? iconColor, double? iconSize, double? elevation, Color? shadowColor, BorderInfo? border, EventInfo? eventInfo})
ButtonInfo.fromJson(Map<String, dynamic> json)
factory

Properties

bgColor Color?
getter/setter pair
border BorderInfo?
getter/setter pair
color Color?
getter/setter pair
elevation double?
getter/setter pair
eventInfo EventInfo?
getter/setter pair
fontSize double?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconColor Color?
getter/setter pair
iconData IconData?
getter/setter pair
iconSize double?
getter/setter pair
key String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
getter/setter pair
text String
getter/setter pair
type int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Connect the generated _$PersonToJson function to the toJson method.
toString() String
A string representation of this object.
inherited

Operators

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