Skip to content

Commit

Permalink
✨Feat: 스터디 이동 라우터
Browse files Browse the repository at this point in the history
  • Loading branch information
seochan99 committed Feb 18, 2024
1 parent a64dd50 commit 0c09625
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions lib/views/study/widget/study_main_body_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,23 @@ class StudyNainBodyWidget extends StatelessWidget {
subtitle: "옴소 교정 및 발음 테스트",
imagePath: "assets/images/study/1.png",
onTap: () {
Get.to(() => const WordScreen());
Get.to(() => const WordScreen(
title: "음소 교정",
type: 0,
));
},
imgSize: 85,
),
StudyCardWidget(
title: "단어 교정",
subtitle: "단어 교정 및 발음 테스트",
imagePath: "assets/images/study/2.png",
onTap: () {},
onTap: () {
Get.to(() => const WordScreen(
title: "단어 교정",
type: 1,
));
},
imgSize: 150,
),
],
Expand All @@ -48,14 +56,24 @@ class StudyNainBodyWidget extends StatelessWidget {
title: "문장 교정",
subtitle: "문장 교정 및 발음 테스트",
imagePath: "assets/images/study/3.png",
onTap: () {},
onTap: () {
Get.to(() => const WordScreen(
title: "문장 교정",
type: 2,
));
},
imgSize: 85,
),
StudyCardWidget(
title: "문단 교정",
subtitle: "대본 입력 및 발음 테스트",
imagePath: "assets/images/study/4.png",
onTap: () {},
onTap: () {
Get.to(() => const WordScreen(
title: "문단 교정",
type: 3,
));
},
imgSize: 85,
),
],
Expand Down

0 comments on commit 0c09625

Please sign in to comment.