adding custom widgets in flutter 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: ,
);
}