Update tenders recommendations view
continuous-integration/drone/push Build is passing

This commit is contained in:
AmirReza Jamali
2026-06-29 13:27:21 +03:30
parent 17ccd9d464
commit 6cd8d7cc7f
9 changed files with 124 additions and 492 deletions
@@ -4,8 +4,7 @@ import 'package:tm_app/core/utils/size_config.dart';
import '../strings/tenders_strings.dart';
/// Segmented control switching between the "All" tenders list and the
/// "Recommended" AI tab.
/// Segmented control for the tenders list.
class TendersTabBar extends StatelessWidget {
const TendersTabBar({
required this.selectedIndex,
@@ -13,7 +12,7 @@ class TendersTabBar extends StatelessWidget {
super.key,
});
/// 0 = All, 1 = Recommended.
/// 1 = Recommended. The former All tab is intentionally hidden.
final int selectedIndex;
final ValueChanged<int> onChanged;
@@ -29,7 +28,8 @@ class TendersTabBar extends StatelessWidget {
),
child: Row(
children: [
_segment(TendersStrings.allTab, 0),
// All tenders is hidden for now.
// _segment(TendersStrings.allTab, 0),
_segment(TendersStrings.recommendedTab, 1),
],
),