WidgetProps class

Constructors

WidgetProps({required Border? margin, required Border? padding, required String? width, required String? height, required int? constWidth, required int? constHeight, required bool? hasBg, required String? bgColor, required int? bgOpacity, required String? horiAlignment, required String? verAlignment, required bool? hasBorder, required int? borderWidth, required String? borderColor, required int? borderOpacity, required int? roundness, required Border? border, required bool? hasAction, required String? clickType, required dynamic target, required bool? hasTransition, required String? transition, required String? orientation, required String? asset, required String? bgObjectFit, required int? bgHeight, required int? bgWidth, required int? bgLeft, required int? bgTop, required String? horiContentAlignment, required String? verContentAlignment, required List children, required String? text, required String? fontColor, required int? fontSize, required int? fontWeight, required int? lineHeight, required String? alignment, required bool? autoLink, required String? style})
WidgetProps.fromJson(Map<String, dynamic> json)
factory

Properties

alignment → String?
final
asset → String?
final
final
bgColor → String?
final
bgHeight → int?
final
bgLeft → int?
final
bgObjectFit → String?
final
bgOpacity → int?
final
bgTop → int?
final
bgWidth → int?
final
border → Border?
final
borderColor → String?
final
borderOpacity → int?
final
borderWidth → int?
final
children → List
final
clickType → String?
final
constHeight → int?
final
constWidth → int?
final
fontColor → String?
final
fontSize → int?
final
fontWeight → int?
final
hasAction → bool?
final
hasBg → bool?
final
hasBorder → bool?
final
hashCode → int
The hash code for this object.
no setterinherited
hasTransition → bool?
final
height → String?
final
horiAlignment → String?
final
horiContentAlignment → String?
final
lineHeight → int?
final
margin → Border?
final
orientation → String?
final
padding → Border?
final
roundness → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → String?
final
target → dynamic
final
text → String?
final
transition → String?
final
verAlignment → String?
final
verContentAlignment → String?
final
width → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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