mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
19 lines
360 B
Dart
19 lines
360 B
Dart
import 'package:toolbox/core/provider_base.dart';
|
|
|
|
class AppProvider extends BusyProvider {
|
|
int? _newestBuild;
|
|
int? get newestBuild => _newestBuild;
|
|
|
|
bool _moveBg = true;
|
|
bool get moveBg => _moveBg;
|
|
|
|
void setNewestBuild(int build) {
|
|
_newestBuild = build;
|
|
notifyListeners();
|
|
}
|
|
|
|
void setCanMoveBg(bool moveBg) {
|
|
_moveBg = moveBg;
|
|
}
|
|
}
|