dynamic_row 0.0.1 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 #
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