You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I come to the realization that especially on Cupertino widgets not all styles are manageable through CupertinoThemeData, thus I end up having to set a cupertino theme builder on most widgets to do some extensive designing.
In order to ensure a coherent theme across all widgets, I define my builder functions in a style.dart. Now, what if I have special rules only for one widget? I would love to run my style builder function from my style.dart, but still apply more values to it to make the rules special using a copyWith, but there is none.
So I come to the realization that especially on Cupertino widgets not all styles are manageable through
CupertinoThemeData
, thus I end up having to set acupertino
theme builder on most widgets to do some extensive designing.In order to ensure a coherent theme across all widgets, I define my builder functions in a
style.dart
. Now, what if I have special rules only for one widget? I would love to run my style builder function from mystyle.dart
, but still apply more values to it to make the rules special using acopyWith
, but there is none.Example:
style.dart
my-widget.dart
Here,
copyWith
doesn't exist. I think we should change that.The text was updated successfully, but these errors were encountered: