33 lines
745 B
Dart
33 lines
745 B
Dart
|
|
import 'package:flutter/material.dart';
|
|
import 'package:csp2/common/widgets/custom_bottom_nav_bar.dart';
|
|
|
|
class JobsPage extends StatefulWidget {
|
|
const JobsPage({super.key});
|
|
|
|
@override
|
|
State<JobsPage> createState() => _JobsPageState();
|
|
}
|
|
|
|
class _JobsPageState extends State<JobsPage> {
|
|
int _selectedIndex = 3; // Assuming Jobs is the 4th item (index 3)
|
|
|
|
void _onItemTapped(int index) {
|
|
setState(() {
|
|
_selectedIndex = index;
|
|
});
|
|
// TODO: Add navigation logic here based on index
|
|
// For now, we'll just print the index
|
|
print('Tapped index: $index');
|
|
}
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: const Center(
|
|
child: Text('Jobs Page'),
|
|
),
|
|
);
|
|
}
|
|
}
|