creating custom text widget for material and capurtino code example
Example: how to make reusable widget in flutter
Widget buildListContainer(BuildContext context,Widget list) {
return Container(
height: 300,
child: ,
);
}
Widget buildListContainer(BuildContext context,Widget list) {
return Container(
height: 300,
child: ,
);
}