mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
Merge branch 'dev' into CAKE-20-update-exchange-and-send-screens
# Conflicts: # lib/di.dart # lib/palette.dart # lib/src/screens/base_page.dart # lib/src/screens/dashboard/dashboard_page.dart # lib/src/screens/receive/receive_page.dart
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import 'package:mobx/mobx.dart';
|
||||
|
||||
part 'page_view_store.g.dart';
|
||||
|
||||
class PageViewStore = PageViewStoreBase with _$PageViewStore;
|
||||
|
||||
abstract class PageViewStoreBase with Store {
|
||||
PageViewStoreBase() {
|
||||
setCurrentPage(1);
|
||||
}
|
||||
|
||||
@observable
|
||||
double currentPage;
|
||||
|
||||
@action
|
||||
void setCurrentPage(double currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user