NearHuscarl / flutter_login

Provides login screen with login/signup functionalities to help speed up development
MIT License
1.52k stars 808 forks source link

Getting null-aware warning on console. #331

Closed rvndsngwn closed 2 years ago

rvndsngwn commented 2 years ago

Describe the bug Getting null-aware warning on console.

To Reproduce Steps to reproduce the behavior:

  1. Go to terminal
  2. Run flutter command flutter run
  3. See warning

Expected behavior There should have been no warning on the console.

Screenshots Screenshot 2022-06-13 at 12 50 56 AM copy

Information (please complete the following information):

Additional context

../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_login-3.2.0/lib/src/widgets/animated_text.dart:57:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((_) {
juliansteenbakker commented 2 years ago

Please upgrade to v4.0.0