size of image flutter code example
Example 1: flutter image size percentage
MediaQuery.of(context).size.width * 1
Example 2: flutter image size percentage
Expanded(child: Image.asset("assets/mypic.jpg")),
MediaQuery.of(context).size.width * 1
Expanded(child: Image.asset("assets/mypic.jpg")),