PropertyInfo constructor

const PropertyInfo({
  1. required String name,
  2. required String dartParamName,
  3. bool isNamed = true,
  4. required String dartType,
  5. required String rustType,
  6. bool required = false,
  7. bool hasConstructorDefault = false,
  8. String? defaultValueCode,
  9. String? defaultValue,
  10. bool isChildWidget = false,
  11. bool isChildList = false,
  12. bool isStringList = false,
  13. bool isCallback = false,
  14. bool isDataClass = false,
  15. bool isEnum = false,
  16. List<String>? enumValues,
  17. String? enumLuaName,
  18. String? typeSourceFile,
  19. String? nestedClassName,
})

Implementation

const PropertyInfo({
  required this.name,
  required this.dartParamName,
  this.isNamed = true,
  required this.dartType,
  required this.rustType,
  this.required = false,
  this.hasConstructorDefault = false,
  this.defaultValueCode,
  this.defaultValue,
  this.isChildWidget = false,
  this.isChildList = false,
  this.isStringList = false,
  this.isCallback = false,
  this.isDataClass = false,
  this.isEnum = false,
  this.enumValues,
  this.enumLuaName,
  this.typeSourceFile,
  this.nestedClassName,
});