@@ -5,7 +5,6 @@ import 'arbitrary_position.dart';
5
5
import 'badge.dart' ;
6
6
import 'barrier.dart' ;
7
7
import 'charts.dart' ;
8
- import 'chen_sort.dart' ;
9
8
import 'circle_position.dart' ;
10
9
import 'coming_soon.dart' ;
11
10
import 'complex_list.dart' ;
@@ -30,8 +29,6 @@ class ExampleHome extends StatelessWidget {
30
29
ExampleHome ({Key ? key}) : super (key: key);
31
30
32
31
final Map <String , Widget ?> exampleMap = {
33
- 'Chen sort(The fastest sorting algorithm in the world, 60% faster than Quicksort)' :
34
- const ChenSortExample (),
35
32
'Summary' : const SummaryExample (),
36
33
'Open Grammar' : const OpenGrammarExample (),
37
34
'Guideline' : const GuidelineExample (),
@@ -109,7 +106,37 @@ class ExampleHome extends StatelessWidget {
109
106
margin: const EdgeInsets .only (
110
107
bottom: 20 ,
111
108
),
112
- )
109
+ ),
110
+ Image .asset (
111
+ 'assets/official_account.webp' ,
112
+ ).applyConstraint (
113
+ centerLeftTo: parent.leftMargin (200 ),
114
+ ),
115
+ const Text (
116
+ '扫码关注微信公众号 FlutterFirst,带你起飞' ,
117
+ style: TextStyle (
118
+ fontSize: 16 ,
119
+ fontWeight: FontWeight .bold,
120
+ height: 1.5 ,
121
+ ),
122
+ ).applyConstraint (
123
+ outBottomCenterTo: sId (- 1 ).topMargin (16 ),
124
+ ),
125
+ Image .asset (
126
+ 'assets/communication.webp' ,
127
+ ).applyConstraint (
128
+ centerRightTo: parent.rightMargin (200 ),
129
+ ),
130
+ const Text (
131
+ '扫码添加我的个人微信,拉你进 Flutter 交流群,请备注【加群】' ,
132
+ style: TextStyle (
133
+ fontSize: 16 ,
134
+ fontWeight: FontWeight .bold,
135
+ height: 1.5 ,
136
+ ),
137
+ ).applyConstraint (
138
+ outBottomCenterTo: sId (- 1 ).topMargin (16 ),
139
+ ),
113
140
],
114
141
),
115
142
);
0 commit comments