diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6ac4e30..a239a43 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,7 @@ updates: patterns: - "*" - package-ecosystem: pub - directory: /packages/mesh/example + directory: /flutter/mesh/example schedule: interval: monthly groups: @@ -17,7 +17,7 @@ updates: patterns: - "*" - package-ecosystem: pub - directory: /packages/mesh + directory: /flutter/mesh schedule: interval: monthly groups: diff --git a/.github/workflows/omesh_flutter.yaml b/.github/workflows/omesh_flutter.yaml index 0e645e0..29fd8fb 100644 --- a/.github/workflows/omesh_flutter.yaml +++ b/.github/workflows/omesh_flutter.yaml @@ -18,7 +18,7 @@ jobs: semantic_pull_request: defaults: run: - working-directory: "packages/mesh" + working-directory: "flutter/mesh" runs-on: ubuntu-latest steps: - name: Semantic pull request @@ -35,7 +35,7 @@ jobs: build: defaults: run: - working-directory: "packages/mesh" + working-directory: "flutter/mesh" runs-on: ubuntu-latest steps: - name: checkout diff --git a/.vscode/launch.json b/.vscode/launch.json index 0d5b777..a35b0af 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,34 +6,34 @@ "configurations": [ { "name": "example", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart" }, { "name": "example (profile mode)", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart", "flutterMode": "profile" }, { "name": "example (release mode)", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart", "flutterMode": "release" }, { "name": "example (no impeller)", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart", "args": ["--no-enable-impeller"] }, { "name": "example (no impeller, profile mode)", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart", "args": ["--no-enable-impeller"], @@ -41,7 +41,7 @@ }, { "name": "example (no impeller, release mode)", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart", "args": ["--no-enable-impeller"], @@ -49,14 +49,14 @@ }, { "name": "example (enable impeller)", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart", "args": ["--enable-impeller"] }, { "name": "example (enable impeller, profile mode)", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart", "args": ["--enable-impeller"], @@ -64,7 +64,7 @@ }, { "name": "example (enable impeller, release mode)", - "cwd": "packages/mesh/example", + "cwd": "flutter/mesh/example", "request": "launch", "type": "dart", "args": ["--enable-impeller"], diff --git a/flutter/mesh/CHANGELOG.md b/flutter/mesh/CHANGELOG.md index 5f0d78a..da7aa97 100644 --- a/flutter/mesh/CHANGELOG.md +++ b/flutter/mesh/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.2.1 + +- Fix readme images on pub.dev + # v0.2.0 - First release 🐣 \ No newline at end of file diff --git a/flutter/mesh/README.md b/flutter/mesh/README.md index 1dd3aee..2b70565 100644 --- a/flutter/mesh/README.md +++ b/flutter/mesh/README.md @@ -5,7 +5,7 @@ ⚡ Fast and highly customizable vector animated Mesh Gradients for Flutter applications. - + --- @@ -53,7 +53,7 @@ A simple usage of a 3x3 mesh with colors in each vertex Result: - + Code: @@ -94,7 +94,7 @@ More advanced example with different colors in each vertex, bezier vertices and Result: - + Code: @@ -187,8 +187,8 @@ In this example the mesh will distort after a button click. Result:

- - + +

Code: @@ -265,10 +265,10 @@ An example to illustrate animation from an animation controller. Result (animation frames):

- - - - + + + +

Code: @@ -377,7 +377,7 @@ class _MyWidgetState extends State with SingleTickerProviderStateMixin When running on the [Impeller Rendering Engine](https://docs.flutter.dev/perf/impeller) (which is default for Flutter on iOS), one might see some line-ish artifacts: - + This is caused by a [very specific issue](https://github.com/flutter/flutter/issues/151355) that has been already fixed in the flutter `main` channel but can still be observed on Flutter stable version 3.22. @@ -401,7 +401,7 @@ Known situations where O'Mesh doesn't seem to behave the way it is supposed to. If you see lines like this: - + It may be caused by an issue with the Impeller rendering engine. Learn the possible workarounds [here](#about-impeller). @@ -426,8 +426,8 @@ animation. See below the differences between different tessellation factors (3 and 30):

- - + +

### Issues with color space xyY @@ -436,8 +436,8 @@ When using the xyY colorspace you may face issues when setting at least one of t to complete black. Like on the second image below:

- - + +

This is expected behavior, as the xyY color space relies on illumination to interpolate colors, black cannot be interpolated. diff --git a/flutter/mesh/example/README.md b/flutter/mesh/example/README.md index 3c445e1..4cbac08 100644 --- a/flutter/mesh/example/README.md +++ b/flutter/mesh/example/README.md @@ -1,6 +1,6 @@ # O'Mesh Flutter Example App - + ⚡ Fast and highly customizable vector animated Mesh Gradients for Flutter applications. diff --git a/flutter/mesh/pubspec.yaml b/flutter/mesh/pubspec.yaml index 1857af7..0e2dda6 100644 --- a/flutter/mesh/pubspec.yaml +++ b/flutter/mesh/pubspec.yaml @@ -8,7 +8,7 @@ documentation: https://github.com/renancaraujo/omesh/tree/main/flutter/mesh topics: [mesh-gradients, flutter, shaders, ui, gradient] screenshots: - description: 'This screenshot shows a usage example of the dependabot_gen CLI tool.' - path: doc/assets/preview.png + path: https://raw.githubusercontent.com/renancaraujo/omesh/main/flutter/mesh/doc/assets/preview.png environment: sdk: ">=3.4.0 <4.0.0"