Skip to content

Commit 885ab30

Browse files
committed
neon text fix
1 parent 88f75e9 commit 885ab30

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ readme updates
3939

4040
fix
4141

42+
## 0.1.1
43+
44+
neon text fixes

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This will add a line like this to your package's pubspec.yaml (and run an implic
3333

3434
```
3535
dependencies:
36-
neon_widgets: ^0.1.0
36+
neon_widgets: ^0.1.1
3737
```
3838

3939
Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

lib/src/neon_widgets.dart

+12
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,12 @@ class oNeonText extends StatefulWidget {
550550
this.spreadColor = Colors.deepPurple,
551551
this.blurRadius = 20,
552552
this.textColor = Colors.white,
553+
this.fontFamily,
554+
this.wordSpacing,
555+
this.maxLine,
556+
this.textHeightBehavior,
557+
this.letterSpacing,
558+
this.textWidgetBasis,
553559
}) : super(key: key);
554560

555561
String text;
@@ -837,6 +843,12 @@ class oFlickerNeonText extends StatefulWidget {
837843
this.textColor = Colors.white,
838844
this.randomFlicker = true,
839845
this.flickerTimeInMilliSeconds = 3000,
846+
this.fontFamily,
847+
this.wordSpacing,
848+
this.maxLine,
849+
this.textHeightBehavior,
850+
this.letterSpacing,
851+
this.textWidgetBasis,
840852
}) : super(key: key);
841853

842854
String text;

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: neon_widgets
22
description: The complete neon solution. This package provides Neon widgets with and without flicker effect.
3-
version: 0.1.0
3+
version: 0.1.1
44
homepage: https://github.com/ojasjain24/neon_widgets_flutter
55

66
environment:

0 commit comments

Comments
 (0)