Component constructor

Component({
  1. required String direction,
  2. required String type,
  3. required dynamic value,
  4. String? fontFamily,
  5. int? fontSize,
  6. String? textAlign,
  7. String? align,
  8. String? backgroundColor,
  9. int? borderRadius,
  10. String? color,
  11. String? fontWeight,
  12. int? paddingX,
  13. int? paddingY,
  14. String? url,
})

Implementation

Component({
  required this.direction,
  required this.type,
  required this.value,
  this.fontFamily,
  this.fontSize,
  this.textAlign,
  this.align,
  this.backgroundColor,
  this.borderRadius,
  this.color,
  this.fontWeight,
  this.paddingX,
  this.paddingY,
  this.url,
});