update Mzansi Profile & Access reviews with layout builder
This commit is contained in:
parent
b641e07b0c
commit
b037d75473
6 changed files with 335 additions and 238 deletions
|
|
@ -19,6 +19,13 @@ class MIHLayoutBuilder extends StatefulWidget {
|
|||
}
|
||||
|
||||
class _MIHLayoutBuilderState extends State<MIHLayoutBuilder> {
|
||||
List<Widget> getList() {
|
||||
List<Widget> temp = [];
|
||||
temp.add(widget.header);
|
||||
temp.add(widget.body);
|
||||
return temp;
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
super.dispose();
|
||||
|
|
@ -40,7 +47,10 @@ class _MIHLayoutBuilderState extends State<MIHLayoutBuilder> {
|
|||
children: [
|
||||
widget.actionButton,
|
||||
Column(
|
||||
children: [widget.header, Expanded(child: widget.body)],
|
||||
children: [
|
||||
widget.header,
|
||||
Expanded(child: widget.body),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue