Skip to content

Commit

Permalink
neon text fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ojasjain24 committed Mar 21, 2022
1 parent 88f75e9 commit 885ab30
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ readme updates

fix

## 0.1.1

neon text fixes
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This will add a line like this to your package's pubspec.yaml (and run an implic

```
dependencies:
neon_widgets: ^0.1.0
neon_widgets: ^0.1.1
```

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Expand Down
12 changes: 12 additions & 0 deletions lib/src/neon_widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,12 @@ class oNeonText extends StatefulWidget {
this.spreadColor = Colors.deepPurple,
this.blurRadius = 20,
this.textColor = Colors.white,
this.fontFamily,
this.wordSpacing,
this.maxLine,
this.textHeightBehavior,
this.letterSpacing,
this.textWidgetBasis,
}) : super(key: key);

String text;
Expand Down Expand Up @@ -837,6 +843,12 @@ class oFlickerNeonText extends StatefulWidget {
this.textColor = Colors.white,
this.randomFlicker = true,
this.flickerTimeInMilliSeconds = 3000,
this.fontFamily,
this.wordSpacing,
this.maxLine,
this.textHeightBehavior,
this.letterSpacing,
this.textWidgetBasis,
}) : super(key: key);

String text;
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: neon_widgets
description: The complete neon solution. This package provides Neon widgets with and without flicker effect.
version: 0.1.0
version: 0.1.1
homepage: https://github.com/ojasjain24/neon_widgets_flutter

environment:
Expand Down

0 comments on commit 885ab30

Please sign in to comment.