WidgetProps constructor
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,
Implementation
WidgetProps({
required this.margin,
required this.padding,
required this.width,
required this.height,
required this.constWidth,
required this.constHeight,
required this.hasBg,
required this.bgColor,
required this.bgOpacity,
required this.horiAlignment,
required this.verAlignment,
required this.hasBorder,
required this.borderWidth,
required this.borderColor,
required this.borderOpacity,
required this.roundness,
required this.border,
required this.hasAction,
required this.clickType,
required this.target,
required this.hasTransition,
required this.transition,
required this.orientation,
required this.asset,
required this.bgObjectFit,
required this.bgHeight,
required this.bgWidth,
required this.bgLeft,
required this.bgTop,
required this.horiContentAlignment,
required this.verContentAlignment,
required this.children,
required this.text,
required this.fontColor,
required this.fontSize,
required this.fontWeight,
required this.lineHeight,
required this.alignment,
required this.autoLink,
required this.style,
});