Skip to content

Commit

Permalink
Rebase from master
Browse files Browse the repository at this point in the history
  • Loading branch information
TinoGuo committed Feb 1, 2021
1 parent 0c46587 commit db8abfb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions NULL_SAFETY_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
## [4.0.0-nullsafety.1] - 2021/02/01
* Rebase from master

## [4.0.0-nullsafety.0] - 2021/01/23
* NullSafety support
4 changes: 2 additions & 2 deletions lib/src/decoration/decoration_underline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class UnderlineDecoration extends PinDecoration
final double lineHeight;

/// The stroke cap of the underline.
final StrokeCap lineStrokeCap;
final StrokeCap? lineStrokeCap;

/// The background color of index character.
final ColorBuilder? bgColorBuilder;
Expand Down Expand Up @@ -106,7 +106,7 @@ class UnderlineDecoration extends PinDecoration
..isAntiAlias = true;

if (lineStrokeCap != null) {
underlinePaint.strokeCap = lineStrokeCap;
underlinePaint.strokeCap = lineStrokeCap!;
}

/// Assign paint if [bgColorBuilder] is not null
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: pin_input_text_field
description: A textField widget to help display different style pin written in pure dart, no extra dependency.
version: 4.0.0-nullsafety.0
version: 4.0.0-nullsafety.1
homepage: https://github.com/TinoGuo/pin_input_text_field

environment:
Expand Down

0 comments on commit db8abfb

Please sign in to comment.