main menu action

This commit is contained in:
='fauz
2025-04-15 14:56:16 +07:00
parent 831bf02a5c
commit 21c03f72d6
9 changed files with 108 additions and 44 deletions
@@ -0,0 +1,12 @@
import 'package:flutter/material.dart';
class MenuSelectionProvider with ChangeNotifier {
int _selectedIndex = 0;
int get selectedIndex => _selectedIndex;
set selectedIndex(int index) {
_selectedIndex = index;
notifyListeners();
}
}