responsive_row 1.0.1 responsive_row: ^1.0.1 copied to clipboard
This lib is able to generate adaptive layouts according to the device size
ResponsiveRow #
This lib is able to generate adaptive layouts according to the device size
- Examples #
// ResponsiveRow
ResponsiveRow(
alignment: WrapAlignment.spaceBetween,
children: [
ResponsiveCol(
lg: Sizes.col3, //optional field
md: Sizes.col6, //optional field
sm: Sizes.col12, //optional field
child: Container(
height: 100,
margin: const EdgeInsets.all(10),
color: Colors.green,
),
)
],
),
// ResponsiveRow.builder
ResponsiveRow.builder(
itemCount: 10,
itemBuilder: (index) {
return ResponsiveCol(
child: Container(
height: 100,
margin: const EdgeInsets.all(10),
color: Colors.red,
),
);
},
),
Feito com ❤️ by welitonsousa