openChecklist static method

Future<void> openChecklist({
  1. required String checklistId,
  2. required bool showBackButton,
})

openChecklist

Opens an existing checklist.

Available Platforms

Web, Android, iOS

Implementation

static Future<void> openChecklist(
    {required String checklistId, required bool showBackButton}) async {
  if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
    debugPrint(
      'openChecklist is not available for current operating system',
    );
    return;
  }

  await _channel.invokeMethod('openChecklist',
      {'checklistId': checklistId, 'showBackButton': showBackButton});
}