Open
Description
If I have a widget like the following,
class MyWidget extends StatelessWidget {
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
class MyWidget extends StatelessWidget {
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?
class MyWidget extends StatelessWidget {
final arg1, arg2, arg3; // I know this is cringy, it's just for the sake of example.
MyWidget({@required this.arg1, @required this.arg2, @required this.arg3}); // same with this.
}