Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

extend class flutter

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

class Class2 extends Class1 {
  List<FormControls> form;
  
  Class2({text, this.form}) : super(text: text);
}
 
PREVIOUS NEXT
Tagged: #extend #class #flutter
ADD COMMENT
Topic
Name
7+4 =