updateWidget method

Future<void> updateWidget({
  1. required String widgetName,
  2. required Uint8List imageBytes,
  3. required List<Map<String, dynamic>> actions,
})

Saves imageBytes and actions to shared storage, then triggers a native widget timeline reload for widgetName.

Implementation

Future<void> updateWidget({
  required String widgetName,
  required Uint8List imageBytes,
  required List<Map<String, dynamic>> actions,
}) {
  throw UnimplementedError('updateWidget() has not been implemented.');
}