getSubItemViews method

List<Widget> getSubItemViews(
  1. BuildContext ctx,
  2. List<Menu> subs
)

Implementation

List<Widget> getSubItemViews(BuildContext ctx, List<Menu> subs) {
  List widgets = <Widget>[];
  for (Menu m in subs) {
    widgets.add(getContainerClickable(getItemView(ctx, m), m, onItemClick));
  }
  return widgets as List<Widget>;
}