Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaho authored and kaho committed Oct 6, 2019
1 parent 864da5d commit 3c15193
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 6 deletions.
50 changes: 50 additions & 0 deletions mobile_application_activity_04/lib/Pages/activity.dart
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,56 @@ class _ActivityState extends State<Activity> {
),
),
BarChartSample1(),
Padding(
padding: const EdgeInsets.fromLTRB(32, 0, 16, 16),
child: FadeAnimation(
5,
Text(
'Statistic',
style: TextStyle(
fontFamily: 'Arimo',
fontWeight: FontWeight.w500,
fontSize: 19,
),
),
),
),
Row(
children: <Widget>[
FadeAnimation(
6,
Padding(
padding: const EdgeInsets.fromLTRB(32, 5, 16, 8),
child: ClipRRect(
borderRadius: BorderRadius.circular(10),
child: Container(
height: 42,
width: 42,
color: Colors.blue.withOpacity(0.11),
child: Center(
child: Icon(
const IconData(0xe805,
fontFamily: 'CustomAppIcon'),
color: Colors.redAccent,
),
),
),
),
),
),
FadeAnimation(
7,
Text(
'145 ccal burned',
style: TextStyle(
fontSize: 17,
fontWeight: FontWeight.w100,
color: Colors.black.withOpacity(0.75),
),
),
),
],
),
],
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ class BarChartSample1State extends State<BarChartSample1> {
@override
Widget build(BuildContext context) {
return AspectRatio(
aspectRatio: 1.3,
aspectRatio: 1.55,
child: Card(
elevation: 0,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(18)),
color: Colors.grey.withOpacity(0.02),
child: Stack(
children: <Widget>[
Padding(
padding: const EdgeInsets.fromLTRB(32, 16, 32, 32),
padding: const EdgeInsets.fromLTRB(32, 8, 32, 20),
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
mainAxisAlignment: MainAxisAlignment.start,
Expand Down Expand Up @@ -125,7 +125,7 @@ class BarChartSample1State extends State<BarChartSample1> {
],
),
const SizedBox(
height: 25,
height: 22,
),
Expanded(
child: Padding(
Expand All @@ -137,9 +137,6 @@ class BarChartSample1State extends State<BarChartSample1> {
),
),
),
const SizedBox(
height: 15,
),
],
),
),
Expand Down
Binary file removed mobile_application_activity_04/process/day9.gif
Binary file not shown.
3 changes: 3 additions & 0 deletions mobile_application_activity_04/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ flutter:
- family: Cabin
fonts:
- asset: assets/fonts/Cabin-Regular.ttf
- family: Arimo
fonts:
- asset: assets/fonts/Arimo-BoldItalic.ttf



Expand Down

0 comments on commit 3c15193

Please sign in to comment.