lulupointu / vrouter

MIT License
202 stars 39 forks source link

Flutter 3.0 changes #193

Closed zawadZwd closed 2 years ago

zawadZwd commented 2 years ago

Hi

After new release of Flutter, the plugin has not working at all because of this error:


../../Flutter/.pub-cache/hosted/pub.dartlang.org/vrouter-1.2.0+21/lib/src/widgets/anchor/vanchor.dart:123:22: 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((timeStamp) {
                     ^
lulupointu commented 2 years ago

I'm looking into this

lulupointu commented 2 years ago

Fixed in 1.2.1.

Can you confirm ?

zawadZwd commented 2 years ago

I do. Error disappeared 😎