dynamic_row 0.0.1

Flutter Android iOS web

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

0
likes
90
pub points
0%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

karantanwar.nitd@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on dynamic_row