Skip to content
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

Merge dev to main #74

Merged
merged 3 commits into from
Jun 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading