Frank Moreno

mustCallSuper in GetLifeCycle methods

@@ -48,6 +48,7 @@ mixin GetLifeCycle { @@ -48,6 +48,7 @@ mixin GetLifeCycle {
48 /// Called 1 frame after onInit(). It is the perfect place to enter 48 /// Called 1 frame after onInit(). It is the perfect place to enter
49 /// navigation events, like snackbar, dialogs, or a new route, or 49 /// navigation events, like snackbar, dialogs, or a new route, or
50 /// async request. 50 /// async request.
  51 + @mustCallSuper
51 void onReady() {} 52 void onReady() {}
52 53
53 /// Called before [onDelete] method. [onClose] might be used to 54 /// Called before [onDelete] method. [onClose] might be used to
@@ -56,6 +57,7 @@ mixin GetLifeCycle { @@ -56,6 +57,7 @@ mixin GetLifeCycle {
56 /// Or dispose objects that can potentially create some memory leaks, 57 /// Or dispose objects that can potentially create some memory leaks,
57 /// like TextEditingControllers, AnimationControllers. 58 /// like TextEditingControllers, AnimationControllers.
58 /// Might be useful as well to persist some data on disk. 59 /// Might be useful as well to persist some data on disk.
  60 + @mustCallSuper
59 void onClose() {} 61 void onClose() {}
60 62
61 bool _initialized = false; 63 bool _initialized = false;