Skip to content

karantanwar/dynamic_row

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

dynamic row for flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages