-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
154 additions
and
92 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
lib/self_care/presentation/view/my_routine/self_care_my_routine_empty_screen.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:maeum_ga_gym_flutter/config/maeumgagym_color.dart'; | ||
import 'package:maeum_ga_gym_flutter/core/component/image/images.dart'; | ||
import 'package:maeum_ga_gym_flutter/core/component/image_widget.dart'; | ||
import 'package:maeum_ga_gym_flutter/core/component/text/pretendard/ptd_text_widget.dart'; | ||
import 'package:maeum_ga_gym_flutter/core/component/routine/presentation/widget/routine_default_title_widget.dart'; | ||
|
||
class SelfCareMyRoutineEmptyScreen extends StatelessWidget { | ||
const SelfCareMyRoutineEmptyScreen({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Padding( | ||
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 24), | ||
child: Column( | ||
mainAxisAlignment: MainAxisAlignment.spaceBetween, | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
children: [ | ||
const RoutineDefaultTitleContainer( | ||
title: "내 루틴", | ||
subTitle: "나만의 루틴을 구성하여\n규칙적인 운동을 해보세요.", | ||
), | ||
Column( | ||
mainAxisAlignment: MainAxisAlignment.center, | ||
crossAxisAlignment: CrossAxisAlignment.center, | ||
children: [ | ||
Center( | ||
child: Container( | ||
width: 120, | ||
height: 120, | ||
decoration: BoxDecoration( | ||
color: MaeumgagymColor.gray50, | ||
borderRadius: BorderRadius.circular(24), | ||
), | ||
child: const ImageWidget( | ||
image: Images.iconsNotDesignSysRoutineIcon, | ||
imageWidth: 75, | ||
), | ||
), | ||
), | ||
const SizedBox(height: 24), | ||
PtdTextWidget.titleMedium("아직 루틴이 없어요", MaeumgagymColor.gray600), | ||
const SizedBox(height: 12), | ||
PtdTextWidget.bodyMedium("루틴을 추가하여 규칙적으로 운동해 보세요.", MaeumgagymColor.gray500), | ||
], | ||
), | ||
const SizedBox(height: 96), | ||
], | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters