import 'package:flutter/material.dart'; import '../Widgets/bottom_nav_bar.dart'; class ProfileScreen extends StatefulWidget { @override State createState() => _ProfileScreenState(); } class _ProfileScreenState 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: 3,), backgroundColor: Colors.transparent, appBar: AppBar( title: const Text('Profile Screen'), actions: [ IconButton( icon: const Icon(Icons.search), onPressed: () { // Action when the search icon is clicked }, ), ], ), ), ); } }