1. 하단 네비게이션 바 수정
2. 대여소 지도 및 리스트 화면 제작 (RentReturnScreen) 3. 대여/반납 상세 진행 화면 구현 (RentalProcessScreen)
This commit is contained in:
@@ -14,7 +14,6 @@ class HomeScreenContent extends StatefulWidget {
|
||||
class _HomeScreenContentState extends State<HomeScreenContent> {
|
||||
static const double _uniformGap = 16.0;
|
||||
|
||||
// 포인트 컬러 (배터리, 상태 표시 등에는 유지)
|
||||
final Color _pointColor = Colors.redAccent;
|
||||
|
||||
final Map<String, bool> _controlToggles = {
|
||||
@@ -117,8 +116,8 @@ class _HomeScreenContentState extends State<HomeScreenContent> {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 20.0),
|
||||
child: Image.asset(
|
||||
'assets/images/helmet.png',
|
||||
width: 100,
|
||||
'assets/images/open.png',
|
||||
width: 120,
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
@@ -381,7 +380,6 @@ class _HomeScreenContentState extends State<HomeScreenContent> {
|
||||
height: 30,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(15),
|
||||
// ⭐ [수정됨] ON(화이트), OFF(다크그레이) -> 블랙 앤 화이트 테마 적용
|
||||
color: value ? Colors.white : Colors.grey.shade700,
|
||||
),
|
||||
child: Stack(
|
||||
@@ -397,7 +395,6 @@ class _HomeScreenContentState extends State<HomeScreenContent> {
|
||||
height: 26,
|
||||
decoration: BoxDecoration(
|
||||
shape: BoxShape.circle,
|
||||
// ⭐ [수정됨] ON(블랙), OFF(화이트) -> 배경과 대비되는 색상
|
||||
color: value ? const Color(0xFF27292B) : Colors.white,
|
||||
),
|
||||
),
|
||||
@@ -411,7 +408,6 @@ class _HomeScreenContentState extends State<HomeScreenContent> {
|
||||
style: TextStyle(
|
||||
fontSize: 10,
|
||||
fontWeight: FontWeight.bold,
|
||||
// ⭐ [수정됨] ON 텍스트 블랙
|
||||
color: value
|
||||
? const Color(0xFF27292B)
|
||||
: Colors.transparent)))),
|
||||
@@ -564,6 +560,7 @@ class _HomeScreenContentState extends State<HomeScreenContent> {
|
||||
TileLayer(
|
||||
urlTemplate:
|
||||
'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png',
|
||||
userAgentPackageName: 'com.example.app',
|
||||
subdomains: const ['a', 'b', 'c', 'd'],
|
||||
retinaMode: true,
|
||||
),
|
||||
@@ -636,10 +633,8 @@ class _HomeScreenContentState extends State<HomeScreenContent> {
|
||||
style: const TextStyle(fontSize: 11, color: Colors.white70));
|
||||
}
|
||||
}
|
||||
// --- _HomeScreenContentState 끝 ---
|
||||
|
||||
|
||||
// 👇 HOME 화면에 사용되는 4가지 커스텀 클래스 정의
|
||||
|
||||
class _LineChartPlaceholder extends StatelessWidget {
|
||||
const _LineChartPlaceholder();
|
||||
|
||||
Reference in New Issue
Block a user