-
Notifications
You must be signed in to change notification settings - Fork 2
/
RainsPage.dart
41 lines (38 loc) · 1.12 KB
/
RainsPage.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// ignore_for_file: prefer_const_constructors, sized_box_for_whitespace
import 'package:clima/getLocation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
class RainsPage extends StatefulWidget {
@override
State<RainsPage> createState() => _RainsPageState();
}
class _RainsPageState extends State<RainsPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: true
? Center(
child: SpinKitRotatingCircle(
color: Colors.white,
size: 50.0,
),
)
: Center(
child: Container(
height: 100,
width: 100,
color: Colors.yellowAccent,
child: Text(
'Rains Page',
style: TextStyle(
color: Colors.black,
fontSize: 20,
fontWeight: FontWeight.bold,
),
),
),
),
);
}
}