schema property

Map<String, Object> schema
final

Implementation

static final schema = {
  r'$schema': 'http://json-schema.org/draft-06/schema#',
  r'$id': '$id',
  r'$comment':
      'https://api.flutter.dev/flutter/material/ButtonStyle-class.html',
  'title': 'ButtonStyle',
  'additionalProperties': false,
  'properties': {
    'alignment': SchemaHelper.objectSchema(AlignmentSchema.id),
    'animationDuration': SchemaHelper.numberSchema,
    'backgroundColor': SchemaHelper.objectSchema(
      MaterialStatePropertyColorSchema.id,
    ),
    'elevation': SchemaHelper.objectSchema(
      MaterialStatePropertyDoubleSchema.id,
    ),
    'enableFeedback': SchemaHelper.boolSchema,
    'foregroundColor': SchemaHelper.objectSchema(
      MaterialStatePropertyColorSchema.id,
    ),
    'minimumSize':
        SchemaHelper.objectSchema(MaterialStatePropertySizeSchema.id),
    'mouseCursor': SchemaHelper.objectSchema(
      MaterialStatePropertyMouseCursorSchema.id,
    ),
    'overlayColor': SchemaHelper.objectSchema(
      MaterialStatePropertyColorSchema.id,
    ),
    'padding': SchemaHelper.objectSchema(
      MaterialStatePropertyEdgeInsetsGeometrySchema.id,
    ),
    'shadowColor':
        SchemaHelper.objectSchema(MaterialStatePropertyColorSchema.id),
    'shape': SchemaHelper.objectSchema(
      MaterialStatePropertyOutlinedBorderSchema.id,
    ),
    'side': SchemaHelper.objectSchema(
      MaterialStatePropertyBorderSideSchema.id,
    ),
    'tapTargetSize': SchemaHelper.objectSchema(
      MaterialTapTargetSizeSchema.id,
    ),
    'textStyle': SchemaHelper.objectSchema(
      MaterialStatePropertyTextStyleSchema.id,
    ),
    'visualDensity': SchemaHelper.objectSchema(VisualDensitySchema.id),
  },
};