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': 'OutlinedButton',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'autofocus': SchemaHelper.boolSchema,
    'clipBehavior': SchemaHelper.objectSchema(ClipSchema.id),
    'focusNode': SchemaHelper.anySchema,
    'iconAlignment': SchemaHelper.anySchema,
    'onFocusChange': SchemaHelper.anySchema,
    'onHover': SchemaHelper.anySchema,
    'onLongPress': SchemaHelper.anySchema,
    'onPressed': SchemaHelper.anySchema,
    'statesController': SchemaHelper.anySchema,
    'style': SchemaHelper.objectSchema(ButtonStyleSchema.id),
    'child': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
  },
};