diff --git a/schemas/json_dynamic_widget/animated_container.json b/schemas/json_dynamic_widget/animated_container.json index 547b285..b67b7a6 100644 --- a/schemas/json_dynamic_widget/animated_container.json +++ b/schemas/json_dynamic_widget/animated_container.json @@ -74,46 +74,86 @@ ] }, "decoration": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "additionalProperties": true - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_decoration.json", + "$comment": "https://api.flutter.dev/flutter/painting/BoxDecoration-class.html", + "type": "object", + "title": "BoxDecoration", + "additionalProperties": false, + "properties": { + "backgroundBlendMode": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/blend_mode.json" + }, + "border": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_border.json" + } + ] + }, + "borderRadius": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/border_radius.json" + } + ] + }, + "boxShadow": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_shadow.json" + } + } + ] + }, + "color": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/color.json" + }, + "decorationImage": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/decoration_image.json" + } + ] + }, + "gradient": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/gradient.json" + } + ] + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/decoration_image.json" + } + ] + }, + "shape": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_shape.json" } - ] + } }, "duration": { "anyOf": [ @@ -158,46 +198,86 @@ ] }, "foregroundDecoration": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "additionalProperties": true - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "array", - "items": { - "type": "boolean" - } - }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_decoration.json", + "$comment": "https://api.flutter.dev/flutter/painting/BoxDecoration-class.html", + "type": "object", + "title": "BoxDecoration", + "additionalProperties": false, + "properties": { + "backgroundBlendMode": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/blend_mode.json" + }, + "border": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_border.json" + } + ] + }, + "borderRadius": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/border_radius.json" + } + ] + }, + "boxShadow": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_shadow.json" + } + } + ] + }, + "color": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/color.json" + }, + "decorationImage": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/decoration_image.json" + } + ] + }, + "gradient": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/gradient.json" + } + ] + }, + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/decoration_image.json" + } + ] + }, + "shape": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_shape.json" } - ] + } }, "height": { "anyOf": [ diff --git a/schemas/json_dynamic_widget/animated_size.json b/schemas/json_dynamic_widget/animated_size.json index 1586dc1..b66fb6c 100644 --- a/schemas/json_dynamic_widget/animated_size.json +++ b/schemas/json_dynamic_widget/animated_size.json @@ -102,6 +102,48 @@ } ] }, + "onEnd": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "additionalProperties": true + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + } + ] + }, "reverseDuration": { "anyOf": [ { diff --git a/schemas/json_dynamic_widget/container.json b/schemas/json_dynamic_widget/container.json index 283f27f..d8859ec 100644 --- a/schemas/json_dynamic_widget/container.json +++ b/schemas/json_dynamic_widget/container.json @@ -32,88 +32,168 @@ ] }, "decoration": { - "anyOf": [ - { - "type": "string" + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_decoration.json", + "$comment": "https://api.flutter.dev/flutter/painting/BoxDecoration-class.html", + "type": "object", + "title": "BoxDecoration", + "additionalProperties": false, + "properties": { + "backgroundBlendMode": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/blend_mode.json" }, - { - "type": "number" + "border": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_border.json" + } + ] }, - { - "type": "boolean" + "borderRadius": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/border_radius.json" + } + ] }, - { - "type": "object", - "additionalProperties": true + "boxShadow": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_shadow.json" + } + } + ] }, - { - "type": "array", - "items": { - "type": "string" - } + "color": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/color.json" }, - { - "type": "array", - "items": { - "type": "number" - } + "decorationImage": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/decoration_image.json" + } + ] }, - { - "type": "array", - "items": { - "type": "boolean" - } + "gradient": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/gradient.json" + } + ] }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/decoration_image.json" + } + ] + }, + "shape": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_shape.json" } - ] + } }, "foregroundDecoration": { - "anyOf": [ - { - "type": "string" + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_decoration.json", + "$comment": "https://api.flutter.dev/flutter/painting/BoxDecoration-class.html", + "type": "object", + "title": "BoxDecoration", + "additionalProperties": false, + "properties": { + "backgroundBlendMode": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/blend_mode.json" }, - { - "type": "number" + "border": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_border.json" + } + ] }, - { - "type": "boolean" + "borderRadius": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/border_radius.json" + } + ] }, - { - "type": "object", - "additionalProperties": true + "boxShadow": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_shadow.json" + } + } + ] }, - { - "type": "array", - "items": { - "type": "string" - } + "color": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/color.json" }, - { - "type": "array", - "items": { - "type": "number" - } + "decorationImage": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/decoration_image.json" + } + ] }, - { - "type": "array", - "items": { - "type": "boolean" - } + "gradient": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/gradient.json" + } + ] }, - { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } + "image": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/decoration_image.json" + } + ] + }, + "shape": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/box_shape.json" } - ] + } }, "height": { "anyOf": [ diff --git a/schemas/json_dynamic_widget/icon.json b/schemas/json_dynamic_widget/icon.json index 8109f4d..4d1df4a 100644 --- a/schemas/json_dynamic_widget/icon.json +++ b/schemas/json_dynamic_widget/icon.json @@ -5,6 +5,19 @@ "type": "object", "additionalProperties": false, "properties": { + "applyTextScaling": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, "color": { "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/color.json" }, diff --git a/schemas/json_dynamic_widget/overflow_box.json b/schemas/json_dynamic_widget/overflow_box.json index 8147c83..abca811 100644 --- a/schemas/json_dynamic_widget/overflow_box.json +++ b/schemas/json_dynamic_widget/overflow_box.json @@ -15,6 +15,9 @@ } ] }, + "fit": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/overflow_box_fit.json" + }, "maxHeight": { "anyOf": [ { diff --git a/schemas/json_dynamic_widget/popup_menu_button.json b/schemas/json_dynamic_widget/popup_menu_button.json index 34a329b..1cef5d6 100644 --- a/schemas/json_dynamic_widget/popup_menu_button.json +++ b/schemas/json_dynamic_widget/popup_menu_button.json @@ -310,6 +310,48 @@ } ] }, + "popUpAnimationStyle": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "additionalProperties": true + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + } + ] + }, "position": { "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/popup_menu_position.json" }, @@ -342,6 +384,19 @@ "tooltip": { "type": "string" }, + "useRootNavigator": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, "child": { "anyOf": [ { diff --git a/schemas/json_dynamic_widget/semantics.json b/schemas/json_dynamic_widget/semantics.json index ef7d6f1..14902bb 100644 --- a/schemas/json_dynamic_widget/semantics.json +++ b/schemas/json_dynamic_widget/semantics.json @@ -429,6 +429,9 @@ "hint": { "type": "string" }, + "identifier": { + "type": "string" + }, "image": { "anyOf": [ { diff --git a/schemas/json_dynamic_widget/tooltip.json b/schemas/json_dynamic_widget/tooltip.json index 8ab7df4..f48e0dc 100644 --- a/schemas/json_dynamic_widget/tooltip.json +++ b/schemas/json_dynamic_widget/tooltip.json @@ -60,6 +60,19 @@ } ] }, + "enableTapToDismiss": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, "excludeFromSemantics": { "anyOf": [ { @@ -73,6 +86,48 @@ } ] }, + "exitDuration": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "additionalProperties": true + }, + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "array", + "items": { + "type": "number" + } + }, + { + "type": "array", + "items": { + "type": "boolean" + } + }, + { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + } + ] + }, "height": { "anyOf": [ {