Skip to content

Commit

Permalink
update docs.page example removing zapp
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro committed Oct 29, 2023
1 parent aadf654 commit f75f842
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/examples/counter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Counter example using flutter_solidart

A very simple example with a counter.

<Zapp id="github/nank1ro/solidart/tree/main/examples/counter" />
See the code [here](https://github.com/nank1ro/solidart/tree/main/examples/counter).

In this example we've used a `StatefulWidget` because we must not forget to `dispose()` the created signal.
We've used `counter` as our signal name:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/general.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ description: General example using flutter_solidart

# General example

<Zapp id="github/nank1ro/solidart/tree/main/packages/flutter_solidart/example" />
See the code [here](https://github.com/nank1ro/solidart/tree/main/packages/flutter_solidart/example).
2 changes: 1 addition & 1 deletion docs/examples/github-search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A simple Github Search example that shows the usage of a `Resource` and the `Sol

<Image src="/assets/github-search-demo.gif" alt="Github Search Demo" />

<Zapp id="github/nank1ro/solidart/tree/main/examples/github_search" />
See the code [here](https://github.com/nank1ro/solidart/tree/main/examples/github_search).

Let's start seeing how the services are strucuted:
```dart title=service/client.dart
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/todos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Todos example using flutter_solidart

# Todos example

<Zapp id="github/nank1ro/solidart/tree/main/examples/todos" />
See the code [here](https://github.com/nank1ro/solidart/tree/main/examples/todos).

This example leverages the power of the `Solid` widgets using `providers`.

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/toggle-theme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Toggle theme example using flutter_solidart

A simple __toggle-theme__ feature built using `flutter_solidart`

<Zapp id="github/nank1ro/solidart/tree/main/examples/toggle_theme" />
See the code [here](https://github.com/nank1ro/solidart/tree/main/examples/toggle_theme).

This simple example uses a powerful feature of `flutter_solidart`, the `Solid` widget.
The `Solid` widget is used to provide signals to descendants without passing them as parameters.
Expand Down

0 comments on commit f75f842

Please sign in to comment.