withGestureDetector method

JsonWidgetInternalBuildersBuilder withGestureDetector()

Implementation

JsonWidgetInternalBuildersBuilder withGestureDetector() {
  builders[JsonGestureDetectorBuilder.type] = JsonWidgetBuilderContainer(
    builder: JsonGestureDetectorBuilder.fromDynamic,
    schemaId: GestureDetectorSchema.id,
  );
  return this;
}