What Version that i can use, with no error ?
Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?' because it is potentially null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../flutter/packages/flutter/lib/src/scheduler/binding.dart'). Try calling using ?. instead. SchedulerBinding.instance.addPostFrameCallback( ^^^^^^^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
==================================
another_flushbar: ^1.10.27 ( I tried using this, but same )
Nahh, Version is ok, but null safty inside instance. #69
Any suggestion to solve this error?
im still waiting creator to approve my pull request, maybe you can downgrade to 1.10.28 or maybe you can edit flushbar.dart inside your .pub-cache and just add ! inside SchedulerBinding.instance.addPostFrameCallback to SchedulerBinding.instance!.addPostFrameCallback after that just run your project...