Skip to content

Commit 16b9345

Browse files
committed
small changes, updated readme
1 parent 351b44d commit 16b9345

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

using_custom_fonts/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# using_custom_fonts
1+
# Using Custom Fonts
2+
3+
Example app showing implementing custom fonts as text style.
4+
5+
<img src="demo_img.jpg" height="600em" />
26

3-
A new Flutter project.
47

58
## Getting Started
69

7-
For help getting started with Flutter, view our online
8-
[documentation](http://flutter.io/).
10+
For help getting started with Flutter, view online [documentation](http://flutter.io/).

using_custom_fonts/demo_img.jpg

228 KB
Loading

using_gradient/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# using_gradient
1+
# Using Gradients
2+
3+
Example app showing implementing gradient as a background.
4+
5+
<img src="demo_img.jpg" height="600em" />
26

3-
A new Flutter project.
47

58
## Getting Started
69

7-
For help getting started with Flutter, view our online
8-
[documentation](http://flutter.io/).
10+
For help getting started with Flutter, view online [documentation](http://flutter.io/).

using_gradient/demo_img.jpg

192 KB
Loading

using_gradient/lib/main.dart

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ void main() {
2020
// Add Text
2121
child: new Text(
2222
"Hello World!",
23+
style: new TextStyle(color: Colors.white),
2324
),
2425
),
2526
// Set background

using_gradient/lib/utils.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
33
LinearGradient getCustomGradient() {
44
// Define a Linear Gradient
55
return new LinearGradient(
6-
colors: [Colors.lightBlueAccent, Colors.blueAccent],
6+
colors: [Colors.pink, Colors.blueAccent],
77
begin: const FractionalOffset(0.0, 0.0),
88
end: const FractionalOffset(0.6, 0.0),
99
stops: [0.0, 0.6],

0 commit comments

Comments
 (0)