flutter jpg doens't display code example
Example: flutter asset image not showing
flutter:
uses-material-design: true
assets:
- assets/
class _UserLoginState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: [
Image(image: AssetImage("assets/christmas.jpeg"),
fit: BoxFit.cover,
],
)
);
}
}