Skip to content

Commit 9504599

Browse files
committed
๐Ÿ› Analyze ํ•ด๊ฒฐ
1 parent 6290e0c commit 9504599

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

โ€Žlib/presentation/sign_up/screens/find_school_screen.dartโ€Ž

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,14 @@ class _FindSchoolScreenState extends State<FindSchoolScreen> {
3535
bool isSearchButtonPressed = false;
3636
List<SchoolInfo> filteredSchools = [];
3737
SchoolInfo? selectedSchool;
38-
39-
static const Color SELECTED_BORDER_COLOR = Color(0xFF2756F1);
40-
static const double SELECTED_BORDER_OPACITY = 0.5;
41-
38+
//==========
4239
final List<SchoolInfo> schools = [
4340
SchoolInfo(name: "๋Œ€์ถฉ์ค‘ํ•™๊ต", address: "๋Œ€์ถฉ๋‚จ๋„ ๋Œ€์ถฉ์‹œ ๋Œ€์ถฉ๋ฉด ๋Œ€์ถฉ๋กœ 1-2"),
4441
SchoolInfo(name: "๋Œ€์ถฉ๊ณ ๋“ฑํ•™๊ต", address: "๋Œ€์ถฉ๋‚จ๋„ ๋Œ€์ถฉ์‹œ ๋Œ€์ถฉ๋ฉด ๋Œ€์ถฉ๋กœ 3-4"),
4542
SchoolInfo(name: "๊ฐ€๋‚˜์ดˆ๋“ฑํ•™๊ต", address: "๋Œ€์ถฉ๋‚จ๋„ ๋Œ€์ถฉ์‹œ ๊ฐ€๋‚˜๋™ ๊ฐ€๋‚˜๋กœ 5-6"),
4643
SchoolInfo(name: "๋‹ค๋ผ์ค‘ํ•™๊ต", address: "๋Œ€์ถฉ๋‚จ๋„ ๋Œ€์ถฉ์‹œ ๋‹ค๋ผ๋™ ๋‹ค๋ผ๋กœ 7-8"),
4744
];
45+
//==========
4846

4947
@override
5048
void initState() {
@@ -115,10 +113,7 @@ class _FindSchoolScreenState extends State<FindSchoolScreen> {
115113
color: JusicoolColor.white,
116114
borderRadius: BorderRadius.circular(8.r),
117115
border: Border.all(
118-
color:
119-
isSelected
120-
? SELECTED_BORDER_COLOR.withOpacity(SELECTED_BORDER_OPACITY)
121-
: JusicoolColor.gray300,
116+
color: isSelected ? JusicoolColor.blueSky : JusicoolColor.gray300,
122117
width: 1.w,
123118
),
124119
),

0 commit comments

Comments
ย (0)