shouldShow static method

Future<bool> shouldShow()

Returns true if the tutorial should be displayed (first visit).

Implementation

static Future<bool> shouldShow() async {
  final box = await Hive.openBox(_hiveBox);
  return box.get(_hiveKey, defaultValue: false) != true;
}