openDateSettings static method

Future<void> openDateSettings({
  1. bool asAnotherTask = false,
  2. Function? callback,
})

Future async method call to open date settings.

Implementation

static Future<void> openDateSettings(
    {bool asAnotherTask = false, Function? callback}) async {
  await _channel.invokeMethod('date', {
    'asAnotherTask': asAnotherTask,
  });
  if (callback != null) handleCallback(callback);
}