To make an Image fill its parent, simply wrap it into a FittedBox : FittedBox( child: Image.asset('foo.png'), fit: BoxFit.fill, ).
確定! 回上一頁