rive-app / rive-flutter

Flutter runtime for Rive
https://rive.app
MIT License
1.16k stars 180 forks source link

use asset bundle of inherited widget instead of root #330

Open lunaticcoding opened 11 months ago

lunaticcoding commented 11 months ago

One should never use rootBundle because it cannot be overridden for example during testing. It's better to use DefaultAssetBundle.of(context).

lunaticcoding commented 11 months ago

@mjtalbot Any update?

mjtalbot commented 11 months ago

@mjtalbot Any update?

thank you for the prod, let me chase this one down

lunaticcoding commented 9 months ago

sorry for the late response I'll take a look over the weekend on how this could be avoided :) I already have an idea