I'm trying to scale an image so that it is zoomed in, and the rest of the image is beyond the screen. I already tried the scaling property but it didn't seem to affect my image size.
Is there a property that I can use to achieve this?
class animationPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
children: <Widget>[
Image.asset(
'assets/imageMain.JPG',
height: 300,
scale: 2,
),
],
),
);
}
}
This is the code that isn't working for me.
