Skip to content

Commit 19db3d9

Browse files
committed
Fixing null safety warning in flutter3
1 parent bbb4cd0 commit 19db3d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rive_loading.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class _RiveLoadingState extends State<RiveLoading> {
127127

128128
_finished() {
129129
if (!_controller.isLoading!) {
130-
WidgetsBinding.instance!.addPostFrameCallback((timeStamp) {
130+
WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
131131
if (_isSuccessful) {
132132
widget.onSuccess(_data);
133133
} else {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: rive_loading
22
description: Loading widget based on a custom Rive animation, allow you to create beautiful custom loading widgets or dialogs
3-
version: 0.1.2
3+
version: 0.1.3
44
homepage: https://github.com/jaumard/rive_loading
55

66
environment:

0 commit comments

Comments
 (0)