Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dickermoshe committed Dec 26, 2024
1 parent 5896ce6 commit 6c7d207
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/widget_wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- name: 📦 Install Dependencies
run: |
dart pub get
dart pub get --no-precompile
- name: 🔎 Verify version
run: flutter run test --run-skipped -t version-verify
run: dart run test --run-skipped -t version-verify
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,15 @@ In this example we will generate a `RedContainer` widget that is identical to a
2. Run the generation command:
```bash
dart run rabbit generate
```
This will generate a `$Container` widget in the default output directory.
dart run rabbit generate
```
This will generate a `$Container` widget in the default output directory.

> [!IMPORTANT]
> Rabbit does not handle imports perfectly. You may need to add or remove some imports manually.
> However, any other syntax errors are considered bugs, and you should open an issue if you encounter them.


3. Locate the generated widget and customize it as needed.
```dart
class RedContainer extends StatelessWidget {
Expand Down

0 comments on commit 6c7d207

Please sign in to comment.