chnages has been made

This commit is contained in:
Daniah Ayad Al-sultani
2026-02-22 11:18:10 +03:00
parent 3a9e7ca8db
commit f616a2c104
26 changed files with 1130 additions and 201 deletions

View File

@@ -12,7 +12,7 @@ class SettingsBar extends StatelessWidget {
super.key,
required this.selectedIndex,
required this.onTap,
this.showBackButton = false, // to switch between back button and settings icons
this.showBackButton = false,
this.onBackTap,
required this.iconPaths,
});
@@ -25,10 +25,15 @@ class SettingsBar extends StatelessWidget {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Row(
children: [
Image.asset('assets/images/logo2.png', width: 150, height: 40),
],
// Text Logo
const Text(
'LOGO',
style: TextStyle(
fontSize: 28,
fontWeight: FontWeight.bold,
color: Colors.white,
letterSpacing: 2,
),
),
Row(
children: [
@@ -50,11 +55,10 @@ class SettingsBar extends StatelessWidget {
],
),
child: Center(
// Always use Flutter's built-in back icon pointing to the right
child: const Icon(
Icons.arrow_forward, // Changed to arrow_forward for RTL
Icons.arrow_forward,
size: 26,
color: Colors.black, // Adjust color as needed
color: Colors.black,
),
),
),
@@ -65,7 +69,6 @@ class SettingsBar extends StatelessWidget {
...iconPaths.asMap().entries.map((entry) {
final index = entry.key;
final iconPath = entry.value;
// final isSelected = selectedIndex == index;
return Padding(
padding: const EdgeInsets.only(left: 10),
@@ -102,4 +105,4 @@ class SettingsBar extends StatelessWidget {
),
);
}
}
}