diff --git a/example/lib/main.dart b/example/lib/main.dart index b0abae8..7905776 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -132,7 +132,7 @@ class _MyHomePageState extends State { avatarInfo: AvatarInfo( uniqueId: '@aliKah:lorem.org', displayName: 'Ali Akalın', - imageProviderFuture: getFutureImage), + avatarFuture: getFutureImage), size: 36, ), SizedBox( @@ -178,7 +178,7 @@ class _MyHomePageState extends State { avatarInfo: AvatarInfo( displayName: "Ali Akalın", uniqueId: "@aliKah:lorem.org", - imageProviderFuture: getFutureImage, + avatarFuture: getFutureImage, ), ), SizedBox( @@ -484,7 +484,7 @@ class _MyHomePageState extends State { avatarInfo: AvatarInfo( displayName: "Ali Akalın", uniqueId: "@aliKah:lorem.org", - imageProviderFuture: getFutureImage, + avatarFuture: getFutureImage, ), ), SizedBox( diff --git a/example/pubspec.lock b/example/pubspec.lock index 48d83b7..e7505ec 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: path: ".." relative: true source: path - version: "1.0.0+2" + version: "1.0.0+3" args: dependency: transitive description: diff --git a/pubspec.lock b/pubspec.lock index 3a6cd80..580478e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,6 +1,14 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: + args: + dependency: transitive + description: + name: args + sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + url: "https://pub.dev" + source: hosted + version: "2.4.2" async: dependency: transitive description: @@ -66,10 +74,10 @@ packages: dependency: "direct main" description: name: flutter_svg - sha256: "6ff9fa12892ae074092de2fa6a9938fb21dbabfdaa2ff57dc697ff912fc8d4b2" + sha256: d39e7f95621fc84376bc0f7d504f05c3a41488c562f4a8ad410569127507402c url: "https://pub.dev" source: hosted - version: "1.1.6" + version: "2.0.9" flutter_test: dependency: "direct dev" description: flutter @@ -123,14 +131,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.8.3" - path_drawing: - dependency: transitive - description: - name: path_drawing - sha256: bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977 - url: "https://pub.dev" - source: hosted - version: "1.0.1" path_parsing: dependency: transitive description: @@ -208,6 +208,30 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.2" + vector_graphics: + dependency: transitive + description: + name: vector_graphics + sha256: "18f6690295af52d081f6808f2f7c69f0eed6d7e23a71539d75f4aeb8f0062172" + url: "https://pub.dev" + source: hosted + version: "1.1.9+2" + vector_graphics_codec: + dependency: transitive + description: + name: vector_graphics_codec + sha256: "531d20465c10dfac7f5cd90b60bbe4dd9921f1ec4ca54c83ebb176dbacb7bb2d" + url: "https://pub.dev" + source: hosted + version: "1.1.9+2" + vector_graphics_compiler: + dependency: transitive + description: + name: vector_graphics_compiler + sha256: "03012b0a33775c5530576b70240308080e1d5050f0faf000118c20e6463bc0ad" + url: "https://pub.dev" + source: hosted + version: "1.1.9+2" vector_math: dependency: transitive description: @@ -234,4 +258,4 @@ packages: version: "6.4.2" sdks: dart: ">=3.2.0-194.0.dev <4.0.0" - flutter: ">=2.11.0-0.1.pre" + flutter: ">=3.7.0-0" diff --git a/pubspec.yaml b/pubspec.yaml index 7ffc38a..96af71a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: acter_avatar description: Avatars as used by Acter.global -version: 1.0.0+3 +version: 1.0.0+4 homepage: https://github.com/acterglobal/acter-avatar environment: @@ -10,7 +10,7 @@ environment: dependencies: flutter: sdk: flutter - flutter_svg: ^1.0.5 + flutter_svg: ^2.0.9 multiavatar: ^0.1.5 logging: ^1.2.0