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 createState() => _AllWorkersScreenState(); } class _AllWorkersScreenState extends State { @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 }, ), ], ), ), ); } }