Since I started using this package, I find the paradigm of naming Refs with a wider scope than just the current widget with an uppercase name just like types to be compelling.
However, the dart linter of course does not enjoy this.
non_constant_identifier_names will yell at us for declaring:
final MyStuffRef = Ref<MyStuff>();
We could disable this lint app-wide, however that would erase actual violations.
I dont know much about how custom linting logic is added, but are there chances we could have some support from the package / packages / an optional lint rule that allows this style of Ref?
Since I started using this package, I find the paradigm of naming Refs with a wider scope than just the current widget with an uppercase name just like types to be compelling.
However, the dart linter of course does not enjoy this.
non_constant_identifier_nameswill yell at us for declaring:We could disable this lint app-wide, however that would erase actual violations.
I dont know much about how custom linting logic is added, but are there chances we could have some support from the package / packages / an optional lint rule that allows this style of Ref?