임시 빌드
This commit is contained in:
@@ -67,48 +67,56 @@ class JobCard extends StatelessWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Flexible(
|
// 수입
|
||||||
child: Text(
|
Text(
|
||||||
"\$ ${job.jobIncome}",
|
job.jobIncome is num ? "\$ ${job.jobIncome}" : job.jobIncome.toString(),
|
||||||
style: TextStyle(fontSize: 22, fontWeight: FontWeight.bold),
|
style: const TextStyle(fontSize: 22, fontWeight: FontWeight.bold),
|
||||||
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
softWrap: false,
|
||||||
),
|
|
||||||
),
|
),
|
||||||
|
|
||||||
Flexible(
|
// 수입 타입
|
||||||
child: Text(
|
Text(
|
||||||
job.jobIncomeType,
|
job.jobIncomeType,
|
||||||
style: TextStyle(color: Colors.grey),
|
style: const TextStyle(color: Colors.grey),
|
||||||
overflow: TextOverflow.ellipsis,
|
maxLines: 1,
|
||||||
|
softWrap: false,
|
||||||
),
|
),
|
||||||
),
|
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 5),
|
||||||
Flexible(
|
// 도시
|
||||||
child: Text(
|
Text(
|
||||||
job.jobLocationCity,
|
job.jobLocationCity,
|
||||||
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
|
style: const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
|
||||||
overflow: TextOverflow.ellipsis,
|
maxLines: 1,
|
||||||
|
softWrap: false,
|
||||||
),
|
),
|
||||||
),
|
|
||||||
Flexible(
|
// 국가
|
||||||
child: Text(
|
Text(
|
||||||
job.jobLocationCountry,
|
job.jobLocationCountry,
|
||||||
style: TextStyle(color: Colors.grey),
|
style: const TextStyle(color: Colors.grey),
|
||||||
overflow: TextOverflow.ellipsis,
|
maxLines: 1,
|
||||||
),
|
softWrap: false,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
ElevatedButton(
|
|
||||||
|
// 지원 버튼
|
||||||
|
SizedBox(
|
||||||
|
height: 44,
|
||||||
|
child: ElevatedButton(
|
||||||
onPressed: () {},
|
onPressed: () {},
|
||||||
style: ElevatedButton.styleFrom(
|
style: ElevatedButton.styleFrom(
|
||||||
backgroundColor: Color(0xFF3056D3),
|
backgroundColor: const Color(0xB91459DB),
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(50),
|
borderRadius: BorderRadius.circular(50),
|
||||||
),
|
),
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10),
|
padding: const EdgeInsets.symmetric(horizontal: 20),
|
||||||
|
),
|
||||||
|
child: const Text("Apply", style: TextStyle(color: Colors.white)),
|
||||||
),
|
),
|
||||||
child: const Text("지원"),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class MyApp extends StatelessWidget {
|
|||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'Case Study',
|
title: 'Case Study',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
colorScheme: ColorScheme.fromSeed(seedColor: Color(0xFF2005E6)),
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
),
|
),
|
||||||
home: const MyHomePage(),
|
home: const MyHomePage(),
|
||||||
|
|||||||
Reference in New Issue
Block a user