cpd_job_app/lib/Search/search_companies.dart

42 lines
1.1 KiB
Dart
Raw Normal View History

import 'package:cpd_ss23/Widgets/bottom_nav_bar.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
class AllWorkersScreen extends StatefulWidget {
@override
State<AllWorkersScreen> createState() => _AllWorkersScreenState();
}
class _AllWorkersScreenState extends State<AllWorkersScreen> {
@override
Widget build(BuildContext context) {
return Container(
decoration: const BoxDecoration(
gradient: LinearGradient(
colors: [Colors.cyan, Colors.white60],
begin: Alignment.centerLeft,
end: Alignment.centerRight,
stops: [0.2, 0.9],
)
),
child: Scaffold(
bottomNavigationBar: BottomNavigationBarForApp(indexNum: 1,),
backgroundColor: Colors.transparent,
appBar: AppBar(
backgroundColor: Colors.cyan,
title: const Text('All Workers Screen'),
actions: [
IconButton(
icon: const Icon(Icons.search),
onPressed: () {
// Action when the search icon is clicked
},
),
],
),
),
);
}
}