buildRows method

List<Widget> buildRows(
  1. BuildContext context
)

Implementation

List<Widget> buildRows(BuildContext context) {
  List<Widget> widgets = [];
  for (var index = 0; index < children.length; index++) {
    widgets.add(Padding(
      padding: outerPadding,
      child: InkWell(
        splashColor: Colors.transparent,
        focusColor: Colors.transparent,
        highlightColor: Colors.transparent,
        enableFeedback: false,
        onTap: () => selectItem(children[index].value),
        child: buildAt(context, index),
      ),
    ));
  }
  return widgets;
}