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': 'Scaffold',
  'type': 'object',
  'additionalProperties': false,
  'properties': {
    'appBar': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
    'backgroundColor': SchemaHelper.objectSchema(ColorSchema.id),
    'body': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
    'bottomNavigationBar': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
    'bottomSheet': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
    'drawer': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
    'drawerDragStartBehavior':
        SchemaHelper.objectSchema(DragStartBehaviorSchema.id),
    'drawerEdgeDragWidth': SchemaHelper.numberSchema,
    'drawerEnableOpenDragGesture': SchemaHelper.boolSchema,
    'drawerScrimColor': SchemaHelper.objectSchema(ColorSchema.id),
    'endDrawer': SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
    'endDrawerEnableOpenDragGesture': SchemaHelper.boolSchema,
    'extendBody': SchemaHelper.boolSchema,
    'extendBodyBehindAppBar': SchemaHelper.boolSchema,
    'floatingActionButton':
        SchemaHelper.objectSchema(JsonWidgetDataSchema.id),
    'floatingActionButtonAnimator':
        SchemaHelper.objectSchema(FloatingActionButtonAnimatorSchema.id),
    'floatingActionButtonLocation':
        SchemaHelper.objectSchema(FloatingActionButtonLocationSchema.id),
    'onDrawerChanged': SchemaHelper.anySchema,
    'onEndDrawerChanged': SchemaHelper.anySchema,
    'persistentFooterAlignment':
        SchemaHelper.objectSchema(AlignmentDirectionalSchema.id),
    'persistentFooterButtons':
        SchemaHelper.arraySchema(JsonWidgetDataSchema.id),
    'primary': SchemaHelper.boolSchema,
    'resizeToAvoidBottomInset': SchemaHelper.boolSchema,
    'restorationId': SchemaHelper.stringSchema,
  },
};