Closed luigi-rosso closed 4 years ago
This is great @ybbaigo, thanks for the contribution! I think this a great foundation for allowing widgets like FlareActor to support files from different sources.
When the network provider lands, the default constructor for FlareActor could remain unchanged signature wise and allow it to determine whether it to infer the type of flareProvider to create based on the passed in path (starts with http/https then use a network provider, otherwise use the rootBundle, or something).
Based off of https://github.com/2d-inc/Flare-Flutter/pull/213
From @ybbaigo: