File tree 6 files changed +3
-40
lines changed
6 files changed +3
-40
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ void main() async {
8
8
runApp (
9
9
new MaterialApp (
10
10
title: "Codeforces" ,
11
+ debugShowCheckedModeBanner: false ,
11
12
home: Home (),
12
13
),
13
14
);
Original file line number Diff line number Diff line change @@ -75,12 +75,6 @@ class Compare extends StatelessWidget {
75
75
"assets/images/cf.png" ,
76
76
height: 30.0 ,
77
77
),
78
- actions: [
79
- IconButton (
80
- icon: Icon (Icons .menu),
81
- color: Colors .black,
82
- )
83
- ],
84
78
),
85
79
body: new ListView (
86
80
children: < Widget > [
Original file line number Diff line number Diff line change @@ -246,26 +246,14 @@ class HomeState extends State {
246
246
height: 25.0 ,
247
247
),
248
248
actions: [
249
- IconButton (
250
- icon: Icon (
251
- Icons .menu,
252
- color: Colors .black,
253
- ),
254
- onPressed: null )
255
249
],
256
250
),
257
251
body: new FutureBuilder (
258
252
future: contestInfo (),
259
253
builder: (BuildContext context, AsyncSnapshot snapshot) {
260
254
if (snapshot.data == null ) {
261
255
return Center (
262
- child: Text (
263
- "Loading data......." ,
264
- style: TextStyle (
265
- color: Colors .green,
266
- fontSize: 25.0 ,
267
- ),
268
- ),
256
+ child: CircularProgressIndicator (),
269
257
);
270
258
} else {
271
259
return ListView .builder (
Original file line number Diff line number Diff line change @@ -130,26 +130,12 @@ class PreviousContestsState extends State {
130
130
height: 25.0 ,
131
131
// width: 20.0,
132
132
),
133
- actions: [
134
- IconButton (
135
- icon: Icon (Icons .menu),
136
- color: Colors .black,
137
- )
138
- ],
139
133
),
140
134
body: new FutureBuilder (
141
135
future: contestInfo (),
142
136
builder: (BuildContext context, AsyncSnapshot snapshot) {
143
137
if (snapshot.data == null ) {
144
- return Center (
145
- child: Text (
146
- "Loading data......." ,
147
- style: TextStyle (
148
- color: Colors .green,
149
- fontSize: 25.0 ,
150
- ),
151
- ),
152
- );
138
+ return Center (child: CircularProgressIndicator ());
153
139
} else {
154
140
return ListView .builder (
155
141
itemCount: snapshot.data['result' ].length,
Original file line number Diff line number Diff line change @@ -140,12 +140,6 @@ class User extends StatelessWidget {
140
140
"assets/images/cf.png" ,
141
141
height: 25.0 ,
142
142
),
143
- actions: [
144
- IconButton (
145
- icon: Icon (Icons .menu),
146
- color: Colors .black,
147
- )
148
- ],
149
143
),
150
144
body: new ListView (
151
145
physics: ScrollPhysics (),
You can’t perform that action at this time.
0 commit comments