4
Form(
child: Column(
children: <Widget>[
CustomTextFormField("E-mail"),
CustomTextFormField('Senha'),
Expanded(
child: FittedBox(
fit: BoxFit.fitWidth,
child: RaisedButton(
onPressed: () {},
color: Colors.redAccent,
child: Text(
'Entrar',
style: TextStyle(color: Colors.white),
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(50)),
),
),
)
],
))
That’s my code, when I use the Expanded the Widget just add up. I’m following the exact example I found in flutter documentation
What am I doing wrong??