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)),
),
),
)
],
))
This is my code, when I use Expanded the Widget simply disappear. I'm following the exact example I found in Flutter documentation
What am I doing wrong?