-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ybbaigo asset provider #214
Merged
Merged
Changes from 76 commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
2e1fcaa
Updating flare_dart dependency to dev branch of Flare-Flutter.
luigi-rosso d8defc4
Fixing relative path for flare_dart.
luigi-rosso 2ec15af
Merge branch 'master' of https://github.com/2d-inc/Flare-Flutter into…
luigi-rosso 113d791
Merge branch 'master' of https://github.com/2d-inc/Flare-Flutter into…
luigi-rosso 4aebb0f
Merge branch 'master' of https://github.com/2d-inc/Flare-Flutter into…
luigi-rosso c51192d
Merge pull request #89 from 2d-inc/master
luigi-rosso 006d85b
Merge branch 'master' of https://github.com/2d-inc/Flare-Flutter into…
luigi-rosso 396cd88
Merge branch 'master' of https://github.com/2d-inc/Flare-Flutter into…
luigi-rosso 6606b73
Merge branch 'master' into dev
luigi-rosso 8f04aa6
Merge pull request #102 from 2d-inc/master
luigi-rosso 0ee2efe
Merge pull request #108 from 2d-inc/master
luigi-rosso 01387cd
Merge pull request #115 from 2d-inc/master
luigi-rosso 5533e73
Merge pull request #116 from 2d-inc/master
luigi-rosso e1a55f9
Merge pull request #119 from 2d-inc/master
luigi-rosso 28846c5
Merge pull request #121 from 2d-inc/master
luigi-rosso 56cea07
Updating stable to latest flare_flutter from dev.
luigi-rosso f24a688
Squashed commit of the following:
luigi-rosso 307d63f
Squashed commit of the following:
luigi-rosso 629866a
Squashed commit of the following:
luigi-rosso 92d9dcb
Squashed commit of the following:
luigi-rosso 9c2bd8c
Squashed commit of the following:
luigi-rosso b5e86e9
Squashed commit of the following:
luigi-rosso 74f372f
Adding flutter environment requirement for #126
luigi-rosso 998dc6f
Squashed commit of the following:
luigi-rosso c82e81e
Squashed commit of the following:
luigi-rosso 2fddc7d
Squashed commit of the following:
luigi-rosso 5d6ab3d
Squashed commit of the following:
luigi-rosso d26a59c
Squashed commit of the following:
luigi-rosso fa043d8
Squashed commit of the following:
luigi-rosso 6c905cd
Squashed commit of the following:
luigi-rosso 5340270
Squashed commit of the following:
luigi-rosso 2875d00
Merge branch 'master' into dev
luigi-rosso f14d597
Merge branch 'dev' into stable
luigi-rosso e550a5e
Bumping flare_dart version in flare_flutter pubspec..
luigi-rosso 68ae10c
Fix critical lints
mehmetf 2df5759
Merge pull request #163 from mehmetf/b01
luigi-rosso 9386337
Squashed commit of the following:
luigi-rosso 177c441
Squashed commit of the following:
luigi-rosso b1ae611
Squashed commit of the following:
luigi-rosso 13759e2
Squashed commit of the following:
luigi-rosso e3d2414
Squashed commit of the following:
luigi-rosso cfa4b99
Squashed commit of the following:
luigi-rosso e59d88d
Squashed commit of the following:
luigi-rosso 18fda21
Squashed commit of the following:
luigi-rosso 0b9c173
Squashed commit of the following:
luigi-rosso d74c0c8
Squashed commit of the following:
luigi-rosso a4f9cd3
Merge branch 'dev' into stable
luigi-rosso 3c27f27
Fixing typo in last version.
luigi-rosso 8282f2e
Update README.md
luigi-rosso 226bba2
Bumping version.
luigi-rosso b646638
Merge branch 'stable' of https://github.com/2d-inc/Flare-Flutter into…
luigi-rosso ea16c60
Squashed commit of the following:
luigi-rosso 7eb56d7
Squashed commit of the following:
luigi-rosso 63b7b2c
Fixing merge issues.
luigi-rosso 86b8f41
Squashed commit of the following:
luigi-rosso f695594
Squashed commit of the following:
luigi-rosso 17896a7
Squashed commit of the following:
luigi-rosso ffab254
Merge branch 'dev' into stable
luigi-rosso fe016ef
Squashed commit of the following:
luigi-rosso eb99974
Squashed commit of the following:
luigi-rosso 9dedc74
Squashed commit of the following:
luigi-rosso d28651d
Squashed commit of the following:
luigi-rosso 2c16da8
Bumping dependency
luigi-rosso 006c90b
Squashed commit of the following:
luigi-rosso 88832dd
Squashed commit of the following:
luigi-rosso a2fdffd
Squashed commit of the following:
luigi-rosso b1602d9
Squashed commit of the following:
luigi-rosso 1f4b4c5
Squashed commit of the following:
luigi-rosso c0dc639
Squashed commit of the following:
luigi-rosso 838e986
Squashed commit of the following:
luigi-rosso 398bbd6
Remove unused import.
luigi-rosso 8c73e5e
Add AssetProvider
e6c0191
fix conflict
c6659b1
Merge branch 'stable' of https://github.com/ybbaigo/Flare-Flutter int…
luigi-rosso 578fa37
Getting ybbaigo’s PR into a master branch and working on fixing up th…
luigi-rosso 6a1d064
Fixing pubspec and revving version to 2.0.0 as the asset provider bre…
luigi-rosso 8edbb59
Fixing change color example.
luigi-rosso b12e951
Fixing smiley_switch example.
luigi-rosso 04ac1f8
Fixing space_reload example.
luigi-rosso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import 'dart:typed_data'; | ||
|
||
/// Identifies an asset, to obtain asset from an [AssetProvider], call [load]. | ||
abstract class AssetProvider { | ||
const AssetProvider(); | ||
|
||
/// Loads the asset. | ||
Future<ByteData> load(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ybbaigo I changed the syntax slightly here so you can do
FlareActor.rootBundle('assets/my.flr')
andFlareActor.asset(AssetFlare(...))
. You can see how I use it in example/simple/lib/main.dart