@@ -5,7 +5,6 @@ import 'arbitrary_position.dart';
55import 'badge.dart' ;
66import 'barrier.dart' ;
77import 'charts.dart' ;
8- import 'chen_sort.dart' ;
98import 'circle_position.dart' ;
109import 'coming_soon.dart' ;
1110import 'complex_list.dart' ;
@@ -30,8 +29,6 @@ class ExampleHome extends StatelessWidget {
3029 ExampleHome ({Key ? key}) : super (key: key);
3130
3231 final Map <String , Widget ?> exampleMap = {
33- 'Chen sort(The fastest sorting algorithm in the world, 60% faster than Quicksort)' :
34- const ChenSortExample (),
3532 'Summary' : const SummaryExample (),
3633 'Open Grammar' : const OpenGrammarExample (),
3734 'Guideline' : const GuidelineExample (),
@@ -109,7 +106,37 @@ class ExampleHome extends StatelessWidget {
109106 margin: const EdgeInsets .only (
110107 bottom: 20 ,
111108 ),
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+ ),
113140 ],
114141 ),
115142 );
0 commit comments