Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Feat: Create Home Screen, OnBoarding Screen #11

Merged
merged 20 commits into from
Jan 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: 온보딩 폰트
bunju20 committed Jan 10, 2024
commit d287d21d7ca36236a8ebfcd910d0844a298cbfda
14 changes: 6 additions & 8 deletions lib/views/onboarding/onboarding_screen.dart
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:nightary/viewModels/analyze/analyze_viewmodel.dart';
import 'package:nightary/views/base/base_screen.dart';
import 'package:nightary/utilities/font_system.dart';

class OnboardingScreen extends BaseScreen<AnalyzeViewModel> {
const OnboardingScreen({super.key});
@@ -17,10 +18,7 @@ class OnboardingScreen extends BaseScreen<AnalyzeViewModel> {
),
Text(
"어떤 이름으로 불러드릴까요?",
style: TextStyle(
color: Colors.white,
fontSize: 18,
),
style: FontSystem.KR18B.copyWith(color: Colors.white),
),
InputSample(),
_Button(),
@@ -66,13 +64,13 @@ class InputSampleState extends State<InputSample> {
textAlign: TextAlign.center,
decoration: InputDecoration(hintText: '',

border: UnderlineInputBorder( // 하단에 직선 테두리를 설정합니다.
borderSide: BorderSide(color: Colors.white), // 테두리 색상을 하얀색으로 지정합니다.
border: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.white),
),
enabledBorder: UnderlineInputBorder( // 텍스트 필드가 활성화되었을 때의 하단 테두리 스타일.
enabledBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.white),
),
focusedBorder: UnderlineInputBorder( // 텍스트 필드에 포커스가 맞춰졌을 때의 하단 테두리 스타일.
focusedBorder: UnderlineInputBorder(
borderSide: BorderSide(color: Colors.white),
),
),