Standardize names of params in widget constructors that come from the same enum #33
Labels
easy start
for tickets / items that can be taken on by beginners
enhancement
New feature or request
top priority
stuff that is a blocker to launch
v2 roadmap babey
(This is my fault sorry) - sometimes across constructors of widgets, named parameters will have different names even when they collect the same type of enum. This leads to developer confusion, and is a small thing that just improves readability and more.
Instead of:
SmolTextButtonElement(decorationVariant: decorationPriority.standard);
PrimaryIconButtonElement(variation: decorationPriority.standard);
StandardButtonElement(decor: decorationPriority.standard);
Have it be:
SmolTextButtonElement(decorationVariant: decorationPriority.standard);
PrimaryIconButtonElement(decorationVariant: decorationPriority.standard);
StandardButtonElement(decorationVariant: decorationPriority.standard);
The text was updated successfully, but these errors were encountered: