schema property

Map<String, Object> schema
final

Implementation

static final schema = <String, Object>{
  r'$schema': 'http://json-schema.org/draft-07/schema#',
  r'$id': id,
  'title': 'InteractiveViewer',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'alignment': SchemaHelper.objectSchema(AlignmentSchema.id),
    'boundaryMargin': SchemaHelper.objectSchema(EdgeInsetsSchema.id),
    'clipBehavior': SchemaHelper.objectSchema(ClipSchema.id),
    'constrained': SchemaHelper.boolSchema,
    'interactionEndFrictionCoefficient': SchemaHelper.numberSchema,
    'maxScale': SchemaHelper.numberSchema,
    'minScale': SchemaHelper.numberSchema,
    'onInteractionEnd': SchemaHelper.anySchema,
    'onInteractionStart': SchemaHelper.anySchema,
    'onInteractionUpdate': SchemaHelper.anySchema,
    'panAxis': SchemaHelper.objectSchema(PanAxisSchema.id),
    'panEnabled': SchemaHelper.boolSchema,
    'scaleEnabled': SchemaHelper.boolSchema,
    'scaleFactor': SchemaHelper.numberSchema,
    'trackpadScrollCausesScale': SchemaHelper.boolSchema,
    'transformationController': SchemaHelper.anySchema,
    'child': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
  },
};