rive-flutter icon indicating copy to clipboard operation
rive-flutter copied to clipboard

use asset bundle of inherited widget instead of root

Open lunaticcoding opened this issue 1 year ago • 3 comments

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

lunaticcoding avatar Jul 11 '23 07:07 lunaticcoding

@mjtalbot Any update?

lunaticcoding avatar Jul 17 '23 17:07 lunaticcoding

@mjtalbot Any update?

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

mjtalbot avatar Jul 18 '23 08:07 mjtalbot

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

lunaticcoding avatar Oct 04 '23 14:10 lunaticcoding