cpd_job_app/lib/jobs/upload_job.dart

74 lines
2.1 KiB
Dart

import 'package:flutter/material.dart';
import '../Widgets/bottom_nav_bar.dart';
class UploadJobNow extends StatefulWidget {
@override
State<UploadJobNow> createState() => _UploadJobNowState();
}
class _UploadJobNowState extends State<UploadJobNow> {
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [Colors.deepOrange.shade300, Colors.blueAccent],
begin: Alignment.centerLeft,
end: Alignment.centerRight,
stops: const [0.2, 0.9],
)
),
child: Scaffold(
bottomNavigationBar: BottomNavigationBarForApp(indexNum: 2,),
backgroundColor: Colors.transparent,
appBar: AppBar(
backgroundColor: Colors.cyan,
title: const Text('Upload Job Now'),
actions: [
IconButton(
icon: const Icon(Icons.search),
onPressed: () {
// Action when the search icon is clicked
},
),
],
),
body: const Center(
child: Padding(
padding: EdgeInsets.all(7.0),
child: Card(
color: Colors.white10,
child: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(height: 10,),
Align(
alignment: Alignment.center,
child: Padding(
padding: EdgeInsets.all(8.0),
child: Text(
"Please fill all fields",
style: TextStyle(
color: Colors.black,
fontSize: 40,
fontWeight: FontWeight.bold,
fontFamily: "Signatra",
),
),
),
)
],
),
),
),
),
),
),
);
}
}