From 8b6339b00c4e28384ebdaefda39230b1fd7adbcd Mon Sep 17 00:00:00 2001 From: action Date: Sat, 9 Dec 2023 02:07:35 +0000 Subject: [PATCH] json_dynamic_widget: schema update --- schemas/json_dynamic_widget/form.json | 33 +-------------- schemas/json_dynamic_widget/ink_well.json | 42 +++++++++++++++++++ .../popup_menu_button.json | 3 ++ schemas/json_dynamic_widget/rich_text.json | 42 +++++++++++++++++++ schemas/json_dynamic_widget/semantics.json | 13 ++++++ schemas/json_dynamic_widget/text.json | 42 +++++++++++++++++++ 6 files changed, 144 insertions(+), 31 deletions(-) diff --git a/schemas/json_dynamic_widget/form.json b/schemas/json_dynamic_widget/form.json index 2f32904..73a1cc3 100644 --- a/schemas/json_dynamic_widget/form.json +++ b/schemas/json_dynamic_widget/form.json @@ -8,7 +8,7 @@ "autovalidateMode": { "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/autovalidate_mode.json" }, - "onChanged": { + "canPop": { "anyOf": [ { "type": "string" @@ -18,39 +18,10 @@ }, { "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 - } } ] }, - "onWillPop": { + "onChanged": { "anyOf": [ { "type": "string" diff --git a/schemas/json_dynamic_widget/ink_well.json b/schemas/json_dynamic_widget/ink_well.json index 595a8cc..4f6877b 100644 --- a/schemas/json_dynamic_widget/ink_well.json +++ b/schemas/json_dynamic_widget/ink_well.json @@ -128,6 +128,48 @@ "hoverColor": { "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/color.json" }, + "hoverDuration": { + "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 + } + } + ] + }, "mouseCursor": { "anyOf": [ { diff --git a/schemas/json_dynamic_widget/popup_menu_button.json b/schemas/json_dynamic_widget/popup_menu_button.json index b495a81..34a329b 100644 --- a/schemas/json_dynamic_widget/popup_menu_button.json +++ b/schemas/json_dynamic_widget/popup_menu_button.json @@ -67,6 +67,9 @@ } ] }, + "iconColor": { + "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/color.json" + }, "iconSize": { "anyOf": [ { diff --git a/schemas/json_dynamic_widget/rich_text.json b/schemas/json_dynamic_widget/rich_text.json index 1668a8b..0eb3814 100644 --- a/schemas/json_dynamic_widget/rich_text.json +++ b/schemas/json_dynamic_widget/rich_text.json @@ -164,6 +164,48 @@ } ] }, + "textScaler": { + "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 + } + } + ] + }, "textWidthBasis": { "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/text_width_basis.json" } diff --git a/schemas/json_dynamic_widget/semantics.json b/schemas/json_dynamic_widget/semantics.json index 810b706..ef7d6f1 100644 --- a/schemas/json_dynamic_widget/semantics.json +++ b/schemas/json_dynamic_widget/semantics.json @@ -348,6 +348,19 @@ } ] }, + "expanded": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, "explicitChildNodes": { "anyOf": [ { diff --git a/schemas/json_dynamic_widget/text.json b/schemas/json_dynamic_widget/text.json index 37a223c..d78dfbe 100644 --- a/schemas/json_dynamic_widget/text.json +++ b/schemas/json_dynamic_widget/text.json @@ -96,6 +96,48 @@ } ] }, + "textScaler": { + "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 + } + } + ] + }, "textWidthBasis": { "$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/text_width_basis.json" }