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
classMyWidgetextendsStatelessWidget {
final arg1, arg2, arg3; // I know this is cringy, it's just for the sake of example.MyWidget(this.arg1, this.arg2, this.arg3); // same with this.
}
or
classMyWidgetextendsStatelessWidget {
final arg1, arg2, arg3; // I know this is cringy, it's just for the sake of example.MyWidget({this.arg1, this.arg2, this.arg3}); // same with this.
}
can you provide an option to convert the parameters to required named parameters in one fell swoop?
classMyWidgetextendsStatelessWidget {
final arg1, arg2, arg3; // I know this is cringy, it's just for the sake of example.MyWidget({@requiredthis.arg1, @requiredthis.arg2, @requiredthis.arg3}); // same with this.
}
ThinkDigitalSoftware, lukaspili, jacob314, andreidiaconu, synapticvoid and 9 morejacob314, ThinkDigitalSoftware, MahmoodAliL and LaysDragon