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 main into dev #65

Merged
merged 13 commits into from
May 9, 2023
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,18 @@

* Ios crash bug

## 1.0.2

* Updated Readme file
* Minor bug fixes
* Address issue with Android Gradle Versions


## 1.0.3

* Add automobile Logos
* Improve tests
* Fix minor bug and enhancements
* Add more daily logos
* Add more Tech logos

13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class MyApp extends StatelessWidget {
...AnyLogo.tech.values.map((e) => e.image()).toList(),
...AnyLogo.nfl.values.map((e) => e.image()).toList(),
...AnyLogo.media.values.map((e) => e.image()).toList(),
...AnyLogo.auto.values.map((e) => e.image()).toList(),
],
),
);
Expand Down Expand Up @@ -115,7 +116,7 @@ AnyLogo.uefa.manchesterUnited.image()
// int? cacheWidth,
// int? cacheHeight,
// All the variables are sill available
AnyLogo.nba.image(height: 30, fit: BoxFit.contain);
AnyLogo.nba.atlantaHawks.image(height: 30, fit: BoxFit.contain);


//You can still pass just the asset image without calling [.image()]
Expand All @@ -125,10 +126,12 @@ Image(image: AssetImage(AnyLogo.nba.atlanta.path)),
AnyLogo.uefa.acMilan
AnyLogo.uefa.barcelona

// Daily section contains everyday brands food related etc.. 🍟
// Daily section contains everyday brands food / travel / plane / agencies related etc.. 🍟
// Basically if you don't find a brand it could be in daily.
AnyLogo.daily.gillette
AnyLogo.daily.nutella
AnyLogo.daily.kellogs
AnyLogo.daily.lufthansa

// NFL section contains nfl teams 🏈
AnyLogo.nfl.nflArizonaCardinals
Expand Down Expand Up @@ -159,6 +162,12 @@ AnyLogo.cricket.cscs
AnyLogo.cricket.gurajatLions
AnyLogo.cricket.mumbaiIndians


// Car section contains car brands and makes 🏎️
AnyLogo.auto.bugatti
AnyLogo.auto.bmw
AnyLogo.auto.mercedesBenz

```

### Warning ⚠️
Expand Down
Binary file added assets/auto/bmw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/bugatti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/chevrolet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/chrysler.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/daewoo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/dodge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/ferrari.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/fiat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/ford.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/honda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/hyundai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/infiniti.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/iveco.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/jeep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/kia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/lamborghini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/landRover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/lexus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/luxgen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/maserati.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/maybach.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/mazda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/mclaren.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/mercedesBenz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/auto/mitsubishi.png
Binary file added assets/auto/nissan.png
Binary file added assets/auto/opel.png
Binary file added assets/auto/peugeot.png
Binary file added assets/auto/porsche.png
Binary file added assets/auto/rollsRoyce.png
Binary file added assets/auto/seat.png
Binary file added assets/auto/subaru.png
Binary file added assets/auto/suzuki.png
Binary file added assets/auto/tata.png
Binary file added assets/auto/tesla.png
Binary file added assets/auto/toyota.png
Binary file added assets/auto/volkswagen.png
Binary file added assets/daily/bosch.png
Binary file added assets/daily/brita.png
Binary file added assets/daily/heineken.png
Binary file added assets/daily/lufthansa.png
Binary file added assets/daily/mcCain.png
Binary file added assets/daily/sodexo.png
Binary file added assets/daily/walmart.png
Binary file added assets/tech/panasonic.png
5 changes: 4 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_any_logo/flutter_logo.dart';
import 'package:flutter_any_logo/gen/assets.gen.dart';

void main() {
runApp(const MyApp());
Expand All @@ -22,7 +23,9 @@ class _MyAppState extends State<MyApp> {
child: GridView.count(
crossAxisCount: 5,
children: [
...AnyLogo.values,
...AnyLogo.auto.values
.map((AssetGenImage e) => e.image())
.toList(),
],
),
),
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.0"
version: "1.0.3"
flutter_lints:
dependency: "direct dev"
description:
Expand Down
215 changes: 203 additions & 12 deletions lib/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/src/model/class.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class AnyLogo {
static const $AssetsTechGen tech = $AssetsTechGen();
static const $AssetsNflGen nfl = $AssetsNflGen();
static const $AssetsCricketGen cricket = $AssetsCricketGen();
static const $AssetsAutoGen auto = $AssetsAutoGen();

static List<dynamic> values = <Widget>[
...AnyLogo.cricket.values.map((AssetGenImage e) => e.image()).toList(),
Expand All @@ -22,5 +23,6 @@ class AnyLogo {
...AnyLogo.daily.values.map((AssetGenImage e) => e.image()).toList(),
...AnyLogo.tech.values.map((AssetGenImage e) => e.image()).toList(),
...AnyLogo.media.values.map((AssetGenImage e) => e.image()).toList(),
...AnyLogo.auto.values.map((AssetGenImage e) => e.image()).toList(),
];
}
Loading