how to write flutter in image height and width fit with conatiner code example
Example: image fit flutter
FittedBox(
child: Image.asset('foo.png'),
fit: BoxFit.fill,
)
FittedBox(
child: Image.asset('foo.png'),
fit: BoxFit.fill,
)