Closed stefanhk31 closed 8 months ago
Test failing, probably needs correct path to load asset bundle
Possibly also need to runAsync and/or cache image?
Could POSSIBLY make a Leading and OnLeadingTap property on footer and test with a sized box...but not ideal, will make the widget more complex
Ok, apparently this is more stubborn... need to try running test on simulator to see layout?
Might also be worth setting static height on image asset to see if that sizes it to be clickable
Also, just a thought... could make a FooterLogo widget that takes URL launcher and bypasses need for a bloc. Still have to deal with testing an image but... maybe better than adding AppBloc just for this?
Maybe also do this without an app bloc if url launcher is in repo? Or at least replace with cubit?
I think maybe refactor into GD surrounding just image. Can even try to make a dedicated widget in same file to see if it's tappable in a test case isolated from footer.
Needed for dev subscription