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.