From bc277f299f49989dd13703034a06b142328fa285 Mon Sep 17 00:00:00 2001 From: Jordy Hershel <49708438+JordyHers@users.noreply.github.com> Date: Sat, 29 Apr 2023 16:52:40 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 17dfada..375e5ff 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,13 @@ Import the `flutter_any_logo` package in your Dart code: import 'package:flutter_any_logo/flutter_any_logo.dart'; ``` -You can now use the provided `Logo` widgets to display the logos in your app. For example, to display the Instagram logo: +You can now use the provided `AnyLogo` widget to display the logos in your app. For example, to display the Instagram logo: + +```dart +AnyLogo.media.instagram +``` + +#### More examples ```dart import 'package:flutter_any_logo/flutter_any_logo.dart'; @@ -68,7 +74,7 @@ class MyApp extends StatelessWidget { `flutter_any_logo` currently supports the following categories and logos: -### Usage +### Variables if you want to have access to a type a static method is available ```dart From f830638bf3065f6c584fd7cd0551929d9674cbdd Mon Sep 17 00:00:00 2001 From: Jordy Hershel <49708438+JordyHers@users.noreply.github.com> Date: Sat, 29 Apr 2023 16:57:12 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 375e5ff..2328f88 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,10 @@ Image(image: AssetImage(AnyLogo.nba.atlanta.path)), ``` +### Warning ⚠️ +> 😁 New Logos are constantly uploaded and we may have not uploaded a +logo you think should be part of the library. Feel free to open an Pull request to have your logo added. + ## Test Strategy