Skip to content

quick fix for diagnostic_describe_all_properties #38633

Closed
@pq

Description

@pq

Follow-up from: flutter/flutter#41513 (comment).

@jacob314: feel free to chime in w/ any implementation notes here. Any heuristics for code generation would be greatly appreciated!


Property subclasses to support

  • BooleanProperty -- bool (23aca57)
  • ColorProperty -- for Color (0a63bd4)
  • EnumProperty -- for any enum class (512d763)
  • IntProperty -- int (512d763)
  • DoubleProperty -- double (512d763)
  • IterableProperty -- any iterable (0a63bd4)
  • StringProperty -- string (512d763)
  • TransformProperty -- Matrix4 (0a63bd4)
  • DiagnosticsProperty for any T that doesn't match one of the other cases (69b612b)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions