Skip to content

Instantly share code, notes, and snippets.

@ShwetaRPawar
Created January 30, 2020 13:30
Show Gist options
  • Save ShwetaRPawar/c2115860763022f639e05ad544394d6d to your computer and use it in GitHub Desktop.
Save ShwetaRPawar/c2115860763022f639e05ad544394d6d to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
void main()
{
runApp
(
MaterialApp
(
debugShowCheckedModeBanner: false,
home: Scaffold
(
backgroundColor: Colors.blueGrey,
appBar: AppBar
(
title: Center(
child: Text('My First APP',style: TextStyle(
color: Colors.red),
),
),
backgroundColor: Colors.blueGrey[900]
),
body: Center(
child: Image(
image:
NetworkImage('https://images-na.ssl-images-amazon.com/images/I/61NhPi2PopL._AC_SX425_.jpg'),
),
),
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment