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: 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: 3,), backgroundColor: Colors.transparent, appBar: AppBar( backgroundColor: Colors.cyan, title: const Text('Profile Screen'), actions: [ IconButton( icon: const Icon(Icons.search), onPressed: () { // Action when the search icon is clicked }, ), ], ), ), ); } }