Skip to content

Commit

Permalink
fix some bugs and change ver to 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
OmidHaqi committed Mar 26, 2024
1 parent f4d96e3 commit f5857a6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@

* **Now with `BlurBox` you can use the blur effect in Flutter more easily than before**
* **Wait for cool updates**
* **Update README.md file :)**
* **Update README.md file :)**

## 0.0.3 - [26 March 2024].

* **Code optimization**
* **Fix README.md bugs :)**
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ with the difference that this container is BlurBox

```yaml
dependencies:
blurbox: 0.0.2
blurbox: 0.0.3
```
```dart
Expand Down
6 changes: 3 additions & 3 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ class ExampleOne extends StatelessWidget {
child: BlurBox(
width: 200,
height: 150,

blur: 5.0,
borderRadius: BorderRadius.circular(40),
border: Border.all(color: const Color(0xff4d4d4d)),
blur: 5.0, // Adjust blur amount
child: const Center(
child: Text(
'BlurBox!',
Expand All @@ -69,6 +68,7 @@ class ExampleOne extends StatelessWidget {
Positioned(
left: 20,
top: 175,
//You can use all the properties provided by the container here
child: BlurBox(
width: 200,
height: 150,
Expand Down Expand Up @@ -134,7 +134,7 @@ class ExampleTwo extends StatelessWidget {
blur: 5.0,
child: Center(
child: Text(
'Blur Backgruond!',
'Blur Background!',
style: TextStyle(fontSize: 24.0),
),
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: blurbox
description: "A Flutter package that applies a blur effect to its child widget."
version: 0.0.2
version: 0.0.3
homepage: https://github.com/OmidHaqi/blurbox

environment:
Expand Down

0 comments on commit f5857a6

Please sign in to comment.