marcos930807 / awesomeDialogs

A new Flutter package project for simple a awesome dialogs
Other
339 stars 110 forks source link

Error in new Flutter 3 #107

Closed skylastn closed 1 year ago

skylastn commented 2 years ago

../../../../System/flutter/.pub-cache/hosted/pub.dartlang.org/flare_flutter-3.0.2/lib/flare_render_box.dart:167:26: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

TechNift commented 2 years ago

Same issue

marcos930807 commented 2 years ago

This a a flare issue, for the moment it is safe to ignore is more like a warning. When they fixed i will update de version of dependency.

salahmusamac commented 2 years ago

@marcos930807 use this dependency_overrides: flare_flutter : git: url: https://github.com/mdpe-ir/Flare-Flutter path: flare_flutter ref: stable

tungvt80 commented 2 years ago

Nok work . When they fixed i will update de version of dependency.

tripany commented 2 years ago

@marcos930807

Flare is not maintained anymore. You have to migrate to Rive 2 instead.

See https://github.com/2d-inc/Flare-Flutter

marcos930807 commented 2 years ago

@marcos930807

Flare is not maintained anymore. You have to migrate to Rive 2 instead.

See https://github.com/2d-inc/Flare-Flutter

There is no easy migration from flare to Rive. Rive 2 is not fully backguard compatible, i do not have time to recreate al animation in rive2. So by now i will be using dependency override for the flare package pointing to a PR with the Fix.

Ruslanbek0809 commented 1 year ago

If you still get issue using dependency override put it like this:

dependency_overrides:
  flare_flutter :
    git:
      url: https://github.com/mdpe-ir/Flare-Flutter
      path: flare_flutter
      ref: stable

It should work without a problem.

marcos930807 commented 1 year ago

The version 3.0 is out with new Rive runtime for animation a some other changes. Now the problem is gone.