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:
@@ -3,14 +3,14 @@ import 'package:flutter_svg/svg.dart';
|
||||
|
||||
import '../../core/utils/size_config.dart';
|
||||
|
||||
class BottomNavigation extends StatefulWidget {
|
||||
const BottomNavigation({super.key});
|
||||
class TenderBottomNavigation extends StatefulWidget {
|
||||
const TenderBottomNavigation({super.key});
|
||||
|
||||
@override
|
||||
State<BottomNavigation> createState() => _BottomNavigationState();
|
||||
State<TenderBottomNavigation> createState() => _TenderBottomNavigationState();
|
||||
}
|
||||
|
||||
class _BottomNavigationState extends State<BottomNavigation> {
|
||||
class _TenderBottomNavigationState extends State<TenderBottomNavigation> {
|
||||
int activeTab = 0;
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user