File tree Expand file tree Collapse file tree 6 files changed +3
-40
lines changed
Expand file tree Collapse file tree 6 files changed +3
-40
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ void main() async {
88 runApp (
99 new MaterialApp (
1010 title: "Codeforces" ,
11+ debugShowCheckedModeBanner: false ,
1112 home: Home (),
1213 ),
1314 );
Original file line number Diff line number Diff line change @@ -75,12 +75,6 @@ class Compare extends StatelessWidget {
7575 "assets/images/cf.png" ,
7676 height: 30.0 ,
7777 ),
78- actions: [
79- IconButton (
80- icon: Icon (Icons .menu),
81- color: Colors .black,
82- )
83- ],
8478 ),
8579 body: new ListView (
8680 children: < Widget > [
Original file line number Diff line number Diff line change @@ -246,26 +246,14 @@ class HomeState extends State {
246246 height: 25.0 ,
247247 ),
248248 actions: [
249- IconButton (
250- icon: Icon (
251- Icons .menu,
252- color: Colors .black,
253- ),
254- onPressed: null )
255249 ],
256250 ),
257251 body: new FutureBuilder (
258252 future: contestInfo (),
259253 builder: (BuildContext context, AsyncSnapshot snapshot) {
260254 if (snapshot.data == null ) {
261255 return Center (
262- child: Text (
263- "Loading data......." ,
264- style: TextStyle (
265- color: Colors .green,
266- fontSize: 25.0 ,
267- ),
268- ),
256+ child: CircularProgressIndicator (),
269257 );
270258 } else {
271259 return ListView .builder (
Original file line number Diff line number Diff line change @@ -130,26 +130,12 @@ class PreviousContestsState extends State {
130130 height: 25.0 ,
131131 // width: 20.0,
132132 ),
133- actions: [
134- IconButton (
135- icon: Icon (Icons .menu),
136- color: Colors .black,
137- )
138- ],
139133 ),
140134 body: new FutureBuilder (
141135 future: contestInfo (),
142136 builder: (BuildContext context, AsyncSnapshot snapshot) {
143137 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 ());
153139 } else {
154140 return ListView .builder (
155141 itemCount: snapshot.data['result' ].length,
Original file line number Diff line number Diff line change @@ -140,12 +140,6 @@ class User extends StatelessWidget {
140140 "assets/images/cf.png" ,
141141 height: 25.0 ,
142142 ),
143- actions: [
144- IconButton (
145- icon: Icon (Icons .menu),
146- color: Colors .black,
147- )
148- ],
149143 ),
150144 body: new ListView (
151145 physics: ScrollPhysics (),
You can’t perform that action at this time.
0 commit comments