dynamic_row 0.0.1 copy "dynamic_row: ^0.0.1" to clipboard
dynamic_row: ^0.0.1 copied to clipboard

A dynamic row widget to show children as a combination of rows and columns depending on screen size

Dynamic Row #

pub package

A dynamic row widget to show children as a combination of rows and columns depending on screen size

Installing #

dependencies:
  dynamic_row: ^0.0.1

Import #

import 'package:dynamic_row/dynamic_row.dart';

How To Use #

DyRow(
    maxWidth: MediaQuery.of(context).size.width * 0.9,
    breakForMedium: 4,
    breakForSmall: 3,
    children: <Widget>[
      Padding(
        padding: EdgeInsets.all(2),
        child: Chip(
          elevation: 0,
          backgroundColor: Colors.grey.shade800,
          label: Text(
            'test 1',
          ),
        ),
      ),
      Padding(
        padding: EdgeInsets.all(2),
        child: Chip(
          elevation: 0,
          backgroundColor: Colors.grey.shade800,
          label: Text(
            'test 2',
          ),
        ),
      ),
      Padding(
        padding: EdgeInsets.all(2),
        child: Chip(
          elevation: 0,
          backgroundColor: Colors.grey.shade800,
          label: Text(
            'test 3',
          ),
        ),
      ),
      Padding(
        padding: EdgeInsets.all(2),
        child: Chip(
          backgroundColor: Colors.grey.shade800,
          label: Text(
            'test 4',
          ),
        ),
      ),
    ],
  ),

Bugs & Requests #

If you encounter any bugs feel free to open an issue. Raise a ticket on github for suggestions. Pull request are also welcome.

Flutter #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

License #

MIT License

1
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A dynamic row widget to show children as a combination of rows and columns depending on screen size

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on dynamic_row