Refactor: rename BottomNavigation and update TendersScreen structure

- Renamed BottomNavigation to TenderBottomNavigation for clarity.
- Updated TendersScreen to use TenderBottomNavigation.
- Converted TendersScreen from StatelessWidget to StatefulWidget to manage tab state.
- Added TabController for handling tab changes and improved layout with SafeArea and PageView.
This commit is contained in:
amirrezaghabeli
2025-08-03 19:11:51 +03:30
parent a2f123ce9e
commit df02cff668
15 changed files with 648 additions and 27 deletions
+5
View File
@@ -0,0 +1,5 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2C17.5 2 22 6.5 22 12C22 17.5 17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2Z" stroke="#9E9E9E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9.17188 9.16813L14.8319 14.8281" stroke="#9E9E9E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M14.8319 9.16813L9.17188 14.8281" stroke="#9E9E9E" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 535 B

+4
View File
@@ -0,0 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.48047 5.64954L10.5805 3.24954C10.9805 2.84954 11.8805 2.64954 12.4805 2.64954H16.2805C17.4805 2.64954 18.7805 3.54954 19.0805 4.74954L21.4805 12.0495C21.9805 13.4495 21.0805 14.6495 19.5805 14.6495H15.5805C14.9805 14.6495 14.4805 15.1495 14.5805 15.8495L15.0805 19.0495C15.2805 19.9495 14.6805 20.9495 13.7805 21.2495C12.9805 21.5495 11.9805 21.1495 11.5805 20.5495L7.48047 14.4495" stroke="#9E9E9E" stroke-width="2" stroke-miterlimit="10"/>
<path d="M2.37891 5.65156V15.4516C2.37891 16.8516 2.97891 17.3516 4.37891 17.3516H5.37891C6.77891 17.3516 7.37891 16.8516 7.37891 15.4516V5.65156C7.37891 4.25156 6.77891 3.75156 5.37891 3.75156H4.37891C2.97891 3.75156 2.37891 4.25156 2.37891 5.65156Z" stroke="#9E9E9E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 892 B

+4
View File
@@ -0,0 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.48047 18.3505L10.5805 20.7505C10.9805 21.1505 11.8805 21.3505 12.4805 21.3505H16.2805C17.4805 21.3505 18.7805 20.4505 19.0805 19.2505L21.4805 11.9505C21.9805 10.5505 21.0805 9.35046 19.5805 9.35046H15.5805C14.9805 9.35046 14.4805 8.85046 14.5805 8.15046L15.0805 4.95046C15.2805 4.05046 14.6805 3.05046 13.7805 2.75046C12.9805 2.45046 11.9805 2.85046 11.5805 3.45046L7.48047 9.55046" stroke="#34C759" stroke-width="2" stroke-miterlimit="10"/>
<path d="M2.37891 18.3484V8.54844C2.37891 7.14844 2.97891 6.64844 4.37891 6.64844H5.37891C6.77891 6.64844 7.37891 7.14844 7.37891 8.54844V18.3484C7.37891 19.7484 6.77891 20.2484 5.37891 20.2484H4.37891C2.97891 20.2484 2.37891 19.7484 2.37891 18.3484Z" stroke="#34C759" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 892 B