super is used to call the constructor of the base class . So in your example, the constructor of CardTitle is calling the constructor of StatelessWidget .
Read moreHow do you pass parameters to a stateful widget?
To pass data to the stateful widget just pass parameters to the state using the constructor . You can easily access this parameter using the widget. yourPeram in your second stateful widget.
Read moreHow do you pass parameters to a stateful widget?
To pass data to the stateful widget just pass parameters to the state using the constructor . You can easily access this parameter using the widget. yourPeram in your second stateful widget.
Read moreHow do you create a constructor in stateless widget in flutter?
“flutter stateless widget constructor” Code Answer’s
Read moreHow do you create a constructor in stateless widget in flutter?
“flutter stateless widget constructor” Code Answer’s
Read more