update flow after print back to home

This commit is contained in:
2026-02-11 18:59:12 +07:00
parent 34ee0c3c01
commit 9ccecce196
41 changed files with 108 additions and 85 deletions

View File

@@ -15,14 +15,16 @@ import '../../Provider/profile_provider.dart';
import '../../service/check_actions_when_no_branch.dart';
class Home extends StatefulWidget {
const Home({super.key});
const Home({super.key, this.initialIndex = 0});
final int initialIndex;
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State<Home> {
int _tabIndex = 0;
late int _tabIndex = widget.initialIndex;
late final PageController pageController = PageController(initialPage: _tabIndex);
@override