2023-06-08 23:29:01 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
import '../Widgets/bottom_nav_bar.dart';
|
|
|
|
|
|
|
|
class ProfileScreen extends StatefulWidget {
|
|
|
|
|
|
|
|
@override
|
|
|
|
State<ProfileScreen> createState() => _ProfileScreenState();
|
|
|
|
}
|
|
|
|
|
|
|
|
class _ProfileScreenState extends State<ProfileScreen> {
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Container(
|
2023-06-09 20:38:31 +02:00
|
|
|
decoration: const BoxDecoration(
|
2023-06-08 23:29:01 +02:00
|
|
|
gradient: LinearGradient(
|
2023-06-09 20:38:31 +02:00
|
|
|
colors: [Colors.cyan, Colors.white60],
|
2023-06-08 23:29:01 +02:00
|
|
|
begin: Alignment.centerLeft,
|
|
|
|
end: Alignment.centerRight,
|
2023-06-09 20:38:31 +02:00
|
|
|
stops: [0.2, 0.9],
|
2023-06-08 23:29:01 +02:00
|
|
|
)
|
|
|
|
),
|
|
|
|
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
|
|
|
|
},
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|