From 25f6824b299fdd99315c3ee3f8e227a365586c4f Mon Sep 17 00:00:00 2001 From: Jordy Hershel Igondjo <49708438+JordyHers@users.noreply.github.com> Date: Sat, 10 Jun 2023 12:20:03 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 264d192..c7a9388 100644 --- a/README.md +++ b/README.md @@ -52,10 +52,28 @@ 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 `AnyLogo` widget 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 Google logo: ```dart -AnyLogo.media.instagram +class MyHomePage extends StatefulWidget { + const MyHomePage({super.key, required this.title}); + + final String title; + + @override + State createState() => _MyHomePageState(); +} + +class _MyHomePageState extends State { + @override + Widget build(BuildContext context) { + return SafeArea( + child: Scaffold(body: AnyLogo.tech.google.image() + // This trailing comma makes auto-formatting nicer for build methods. + ), + ); + } +} ``` #### More examples From 712776043fcb32bbe3e0d7054b47ce7e9a38f993 Mon Sep 17 00:00:00 2001 From: Jordy Hershel Igondjo <49708438+JordyHers@users.noreply.github.com> Date: Sat, 10 Jun 2023 12:20:29 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c7a9388..99aba02 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ if you want to have access to a type a static method is available ```dart -// Single Assets Image NBA +// Single Assets AnyLogo.daily.mcDonalds //Access all values in a type