Skip to content

Commit

Permalink
Added specifiv sections in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyHers committed May 2, 2023
1 parent c92c052 commit 43e4062
Showing 1 changed file with 36 additions and 4 deletions.
40 changes: 36 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,15 @@ class MyApp extends StatelessWidget {
if you want to have access to a type a static method is available

```dart
// Single Assets Image NBA
AnyLogo.nba.atlantaHawks
AnyLogo.daily.mcDonalds
//Access all values in a type
AnyLogo.nba.values
//Access the image
AnyLogo.nba.image()
//Access the Image
AnyLogo.uefa.manchesterUnited.image()
// Key? key,
// AssetBundle? bundle,
Expand All @@ -109,13 +110,44 @@ AnyLogo.nba.image()
// int? cacheWidth,
// int? cacheHeight,
// All the variables are sill available
AnyLogo.nba.image(height: 30);
AnyLogo.nba.image(height: 30, fit: BoxFit.contain);
//You can still pass just the asset image without calling [.image()]
Image(image: AssetImage(AnyLogo.nba.atlanta.path)),
// UEFA section contains football teams ⚽️
AnyLogo.uefa.acMilan
AnyLogo.uefa.barcelona
// Daily section contains everyday brands food related etc.. 🍟
AnyLogo.daily.gillette
AnyLogo.daily.nutella
AnyLogo.daily.kellogs
// NFL section contains nfl teams 🏈
AnyLogo.nfl.nflArizonaCardinals
AnyLogo.nfl.nflBuffaloBills
// Fashion section contains clothing / perfume / luxury / watches ⌚️
AnyLogo.fashion.louisVuitton
AnyLogo.fashion.gucci
AnyLogo.fashion.prada
// NBA section contains all nba teams 🏀
AnyLogo.nba.miamiHeat
AnyLogo.nba.losAngelesClippers
AnyLogo.nba.goldenStateWarriors
// Tech contains all brands and tech companies 🕹️
AnyLogo.tech.playstation
AnyLogo.tech.siemens
AnyLogo.tech.visa
// Media section contains social media and area like 🛜
AnyLogo.media.instagram
AnyLogo.media.tiktok
AnyLogo.media.facebook
```

Expand Down

0 comments on commit 43e4062

Please sign in to comment.