8000 Update richText.dart · qwertypool/flutter-code-snippets@65e8e69 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65e8e69

Browse files
authored
Update richText.dart
1 parent d3776b7 commit 65e8e69

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

richText.dart

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,2 @@
11
// Rich Text is used when we want to edit some parts of the text and not to others
2-
RichText(
3-
text: TextSpan(
4-
text:
5-
'Follow flutter_girlz❤️\n TCS\'er 😜 🤪 🤨\nFlutter Developer💛 ',
6-
style: TextStyle(
7-
color: Theme.of(context).textTheme.bodyText1.color),
8-
children: <TextSpan>[
9-
TextSpan(
10-
text: '...more\n',
11-
style: TextStyle(
12-
color: Colors.grey[500],
13-
),
14-
),
15-
TextSpan(
16-
text: 'deepapandey.herokuapp.com/',
17-
style: TextStyle(color: Colors.blue[400])),
18-
],
19-
),
20-
),
2+

0 commit comments

Comments
 (0)
0