memperpanjang flutter kelas

class Class1 {
  String text;
  
  Class1({this.text});
}

class Class2 extends Class1 {
  List<FormControls> form;
  
  Class2({text, this.form}) : super(text: text);
}
loonix