Skip to content

Max items in column before breaking to new row #87

@jeremiahlukus

Description

@jeremiahlukus

I want to be able to pass in maxItems in column then auto break to new row after the maxItems number is reached

          ResponsiveRowColumn(
            rowMainAxisAlignment: MainAxisAlignment.center,
            rowPadding: const EdgeInsets.all(30),
            columnPadding: const EdgeInsets.all(30),
            layout: ResponsiveWrapper.of(context).isSmallerThan(DESKTOP)
                ? ResponsiveRowColumnType.COLUMN
                : ResponsiveRowColumnType.ROW,
            children: [
              ...buildDataTile(),
            ],
          ),
          

buildDataTile returns a List<ResponsiveRowColumnItem> 's. How can I add a maxItems to the column?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions