Currently when extending a class it is very tedious to pass each parameters to the super constructor.
This feature dart-lang/language#1855 will resolve most of the verbosity, however code completion should go a step further and be able to generate a constructor with super parameters
class House {
final int windows;
House({required this.windows});
}
class TestHouse extends House {
// proposed, compiles
TestHouse({super.windows});
// alternatively
TestHouse({int windows}) : super(windows: windows);
// currently, which does not compile
TestHouse() : super()
}
Currently when extending a class it is very tedious to pass each parameters to the super constructor.
This feature dart-lang/language#1855 will resolve most of the verbosity, however code completion should go a step further and be able to generate a constructor with super parameters