updateFlutterWidget method

void updateFlutterWidget(
  1. String widgetId,
  2. Map<String, dynamic> properties
)

Send a Flutter widget update

Implementation

void updateFlutterWidget(String widgetId, Map<String, dynamic> properties) {
  final changes = [
    {
      'action': 'update_flutter_widget',
      'widgetId': widgetId,
      'properties': properties,
    }
  ];
  sendInstantUIUpdate(changes);
}