Skip to content

Commit 3d1f25a

Browse files
committed
refactor: remove dogs_odm and dogs_mongo
Maintaining those modules is out of scope for this project, the firebase integration will stay.
1 parent d1d414e commit 3d1f25a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+43
-5181
lines changed

.github/workflows/mongo.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/flutter/binding.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Data Binding
2+
3+
We provide a way to create a **notifier-based controller** for dog structures that can be used to simplify the process
4+
of
5+
**building forms and data views** using a dogs flavored workflow. Simple variants of the **entire form or individual
6+
fields**
7+
can be **automatically generated** using the structures and can be configured using metadata annotations. The
8+
controller **fully supports the dogs_core validation** system, allowing you to easily create form validations.
9+
10+
## State
11+
12+
The entire state of a structure binding is stored in the `StructureBindingController` and can be initialized using
13+
a structure type with `StructureBindingController.create<T>()` or using a schema with
14+
`StructureBindingController.materialize(Schema)`.
15+
16+
17+
## Flutter Widget Binders
18+
19+
The `FlutterWidgetBinder` opmode is creates a `Widget` and `FieldBindingController` for a given field definition. The binder is
20+
usually inferred from the field type but can be manually overridden by specifying a supplying metadata annotation or
21+
by manually setting it using the `binder` property of the `FieldBinding` widget in flutter.
22+
23+
24+
## Field Binding
25+
26+
A field binding widget automatically creates a `Widget` from the field definition and binds it to the `FieldBindingController`
27+
contained in the `StructureBindingController`. If the customizability of the field is not enough, you can always
28+
create a custom binder or just consume the state of the `FieldBindingController` directly in your widget tree.

docs/flutter/converters.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The dogs package for Flutter provides a set of sdk specific converters for commonly used Flutter types. Here
2+
is a comprehensive list of all converters provided by the package:
3+
4+
- `Color` as a hex string in the format `#RRGGBB` or `#AARRGGBB`
5+
- `Offset`, `Size`, `Rect`, `RRect`, `EdgeInsets`, `Radius`, `BorderRadius`

docs/flutter/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
icon: simple/flutter
3+
---
4+
5+
# Flutter

docs/forms/customization.md

Lines changed: 0 additions & 114 deletions
This file was deleted.

docs/forms/index.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/forms/start.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

docs/forms/translation.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/odm/query_dsl.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)