Skip to content

Commit

Permalink
fix: documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Feb 11, 2024
1 parent de756e8 commit 77bc2a1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
# 0.0.14

## Fix
- Better documentation in the `README.md` about the `SnackyNavigationObserver`

# 0.0.12 - 0.0.13

## Feat
## Fix
- Extra documentation in the `README.md`

# 0.0.10 - 0.0.11

## Feat
## Fix
- Automated builds using GitHub Actions
- Added preview video to the `README.md`

# 0.0.4 - 0.0.9

## Feat
## Fix
- Added `Snacky` logo to the `README.md`

# 0.0.3
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ Widget build(BuildContext context) {
return SnackyConfiguratorWidget(
app: MaterialApp(
...
// Optional if you want to close snackies on push/replacement
navigatorObservers: [
SnackyNavigationObserver(),
],
...
),
);
}
Expand Down
3 changes: 3 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ class MyApp extends StatelessWidget {
colorScheme: ColorScheme.fromSeed(seedColor: colorAccent),
useMaterial3: true,
),
navigatorObservers: [
SnackyNavigationObserver(),
],
home: const HomeScreen(),
),
);
Expand Down

0 comments on commit 77bc2a1

Please sign in to comment.