Mih File Structure enhancement
This commit is contained in:
parent
f5c05d7431
commit
b69a52a5a8
294 changed files with 2782 additions and 4473 deletions
19
Frontend/lib/mih_providers/mih_authentication_provider.dart
Normal file
19
Frontend/lib/mih_providers/mih_authentication_provider.dart
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import 'package:flutter/foundation.dart';
|
||||
|
||||
class MihAuthenticationProvider extends ChangeNotifier {
|
||||
int toolIndex;
|
||||
|
||||
MihAuthenticationProvider({
|
||||
this.toolIndex = 0,
|
||||
});
|
||||
|
||||
void reset() {
|
||||
toolIndex = 0;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void setToolIndex(int index) {
|
||||
toolIndex = index;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue