|
|
|
|
@ -33,20 +33,21 @@ class _ResizeAppState extends State<ResizeApp> {
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
for (int i = 0; i < _listSize; i++)
|
|
|
|
|
Container(color: HSVColor.fromAHSV(1, (10.0 * i), 1, 1).toColor(), height: 50, width: 200,
|
|
|
|
|
Container(
|
|
|
|
|
color: HSVColor.fromAHSV(1, (10.0 * i), 1, 1).toColor(),
|
|
|
|
|
height: 50,
|
|
|
|
|
width: 200,
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(
|
|
|
|
|
'Flutter Widget $i',
|
|
|
|
|
style: const TextStyle(fontSize: 16, color: Colors.black),
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
TextButton(
|
|
|
|
|
onPressed: _addToList,
|
|
|
|
|
child: Text('Listception!'),
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
TextButton(onPressed: _addToList, child: Text('Listception!')),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|