Skip to content

Commit

Permalink
Merge pull request #74 from JordyHers/dev
Browse files Browse the repository at this point in the history
Merge dev to main
  • Loading branch information
JordyHers committed Jun 10, 2023
2 parents bea08d0 + 7127760 commit f7dec38
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@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
Expand Down Expand Up @@ -91,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
Expand Down

0 comments on commit f7dec38

Please sign in to comment.