Skip to content

Commit

Permalink
json_dynamic_widget: schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
action committed Dec 9, 2023
1 parent ceb43b1 commit 8b6339b
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 31 deletions.
33 changes: 2 additions & 31 deletions schemas/json_dynamic_widget/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
42 changes: 42 additions & 0 deletions schemas/json_dynamic_widget/ink_well.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
3 changes: 3 additions & 0 deletions schemas/json_dynamic_widget/popup_menu_button.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
}
]
},
"iconColor": {
"$ref": "https://peiffer-innovations.github.io/flutter_json_schemas/schemas/json_theme/color.json"
},
"iconSize": {
"anyOf": [
{
Expand Down
42 changes: 42 additions & 0 deletions schemas/json_dynamic_widget/rich_text.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
13 changes: 13 additions & 0 deletions schemas/json_dynamic_widget/semantics.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,19 @@
}
]
},
"expanded": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
},
"explicitChildNodes": {
"anyOf": [
{
Expand Down
42 changes: 42 additions & 0 deletions schemas/json_dynamic_widget/text.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 8b6339b

Please sign in to comment.