From 5f7a95b028cc18ec10096c7d91c9f46fe0670cf1 Mon Sep 17 00:00:00 2001 From: HuiChan Seo <78739194+seochan99@users.noreply.github.com> Date: Sun, 18 Feb 2024 20:28:55 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8Feat:=20=EC=9D=BC=EC=9E=90=EB=B3=84=20?= =?UTF-8?q?=EC=95=B1=EB=B0=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/views/study/date_study_screen.dart | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/views/study/date_study_screen.dart b/lib/views/study/date_study_screen.dart index 8c06193..3efe831 100644 --- a/lib/views/study/date_study_screen.dart +++ b/lib/views/study/date_study_screen.dart @@ -1,3 +1,4 @@ +import 'package:earlips/views/base/default_back_appbar.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; // ViewModel import 경로는 실제 프로젝트 구조에 따라 달라질 수 있습니다. @@ -13,14 +14,11 @@ class DateStudyScreen extends StatelessWidget { final sessions = viewModel.getSessions(); return Scaffold( - appBar: AppBar( - title: Text(DateFormat('yyyy/MM/dd').format(date), - style: const TextStyle( - color: Colors.black, - fontSize: 18, - fontWeight: FontWeight.w500, - )), // 동적으로 날짜를 표시 - centerTitle: true, + appBar: PreferredSize( + preferredSize: const Size.fromHeight(kToolbarHeight), + child: DefaultBackAppbar( + title: DateFormat('yyyy/MM/dd').format(date), + ), ), body: ListView.separated( padding: const EdgeInsets.fromLTRB(25, 20, 25, 20),