mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-05-17 13:05:53 +08:00
updated readme of each example with a screenshot/gif and more details about the example.
added more comments to code
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
# load_local_image
|
||||
# Load Local Image
|
||||
|
||||
Example app showing implementation which loads up an image from a local folder.
|
||||
|
||||
<img src="demo_img.jpg" height="600em" />
|
||||
|
||||
A new Flutter project.
|
||||
|
||||
## Getting Started
|
||||
|
||||
For help getting started with Flutter, view our online
|
||||
[documentation](http://flutter.io/).
|
||||
For help getting started with Flutter, view online [documentation](http://flutter.io/).
|
BIN
load_local_image/demo_img.jpg
Executable file
BIN
load_local_image/demo_img.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 768 KiB |
@ -15,7 +15,10 @@ class MyApp extends StatelessWidget {
|
||||
),
|
||||
body: new Container(
|
||||
child: new Center(
|
||||
child: new Text("Hellow World!"),
|
||||
child: new Text(
|
||||
"Hello World!",
|
||||
style: new TextStyle(color: Colors.white),
|
||||
),
|
||||
),
|
||||
// Set the image as the background of the Container
|
||||
decoration: new BoxDecoration(
|
||||
|
Reference in New Issue
Block a user