42 lines
1.2 KiB
Dart
42 lines
1.2 KiB
Dart
|
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: 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: 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
|
||
|
},
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|