Tengo un widget al cual le quiero sombrear solo la parte de abajo , pero el codigo aun aceptandomelo nose me ve visualmente y nose donde esta el error , debajo de el hay otro widget pegado nose si sera eso...es una appbar y debajo un container conun icono y texto . Gracias un saludo.
Widget renderAppBar(){
return Padding(
padding: const EdgeInsets.symmetric(),
child: Container(
width: double.infinity,
height: 130,
decoration: new BoxDecoration(
color:Colors.cyan,
boxShadow: [
new BoxShadow(
color: Colors.black,
offset: new Offset(0.0, 20.0),
blurRadius: 20.0,
),
],
),
child: Row(
children: <Widget> [
Padding(
padding: const EdgeInsets.only(
left: 25,
top: 45
),
child: Text('Inicio',
style: TextStyle(
color: Colors.white,
fontSize:25,
fontWeight: FontWeight.w600
),
),
)
]
)
),
);
}