registerBackgroundCallback static method

  1. @Deprecated('Use `registerInteractivityCallback` instead')
Future<bool?> registerBackgroundCallback(
  1. FutureOr<void> callback(
    1. Uri?
    )
)

Register a callback that gets called when clicked on a specific View in a HomeWidget This enables having Interactive Widgets that can call Dart Code More Info on setting this up in the README

Implementation

@Deprecated('Use `registerInteractivityCallback` instead')
static Future<bool?> registerBackgroundCallback(
  FutureOr<void> Function(Uri?) callback,
) =>
    registerInteractivityCallback(callback);