-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
broke image assets when trying to use images from asset and not network
- Loading branch information
Showing
99 changed files
with
157 additions
and
345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,3 +89,6 @@ app/.flutter-plugins | |
app/.flutter-plugins-dependencies | ||
.vscode/ | ||
*.lock | ||
|
||
app/build | ||
app/assets/images/dogs/*.jpg |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
Music in the template is by Mr Smith, and licensed under Creative Commons | ||
Attribution 4.0 International (CC BY 4.0). | ||
|
||
https://freemusicarchive.org/music/mr-smith | ||
|
||
Mr Smith's music is used in this template project with his explicit permission. | ||
Music was sourced from sites such as [pixabay.com](https://pixabay.com/music/search/genre/video%20games/) and [tunetank.com](https://tunetank.com/gaming/) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
app/build/e1a320d618308c0a9f7d36c8d365fbc9/gen_dart_plugin_registrant.stamp
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
app/build/e1a320d618308c0a9f7d36c8d365fbc9/gen_localizations.stamp
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"assets/Permanent_Marker/PermanentMarker-Regular.ttf":["assets/Permanent_Marker/PermanentMarker-Regular.ttf"],"assets/images/back.png":["assets/images/back.png","assets/images/2x/back.png","assets/images/3.5x/back.png","assets/images/3x/back.png"],"assets/images/restart.png":["assets/images/restart.png","assets/images/2x/restart.png","assets/images/3.5x/restart.png","assets/images/3x/restart.png"],"assets/images/settings.png":["assets/images/settings.png","assets/images/2x/settings.png","assets/images/3.5x/settings.png","assets/images/3x/settings.png"],"assets/music/Mr_Smith-Azul.mp3":["assets/music/Mr_Smith-Azul.mp3"],"assets/music/Mr_Smith-Sonorus.mp3":["assets/music/Mr_Smith-Sonorus.mp3"],"assets/music/Mr_Smith-Sunday_Solitude.mp3":["assets/music/Mr_Smith-Sunday_Solitude.mp3"],"assets/music/README.md":["assets/music/README.md"],"assets/sfx/README.md":["assets/sfx/README.md"],"assets/sfx/dsht1.mp3":["assets/sfx/dsht1.mp3"],"assets/sfx/ehehee1.mp3":["assets/sfx/ehehee1.mp3"],"assets/sfx/fwfwfwfw1.mp3":["assets/sfx/fwfwfwfw1.mp3"],"assets/sfx/fwfwfwfwfw1.mp3":["assets/sfx/fwfwfwfwfw1.mp3"],"assets/sfx/hash1.mp3":["assets/sfx/hash1.mp3"],"assets/sfx/hash2.mp3":["assets/sfx/hash2.mp3"],"assets/sfx/hash3.mp3":["assets/sfx/hash3.mp3"],"assets/sfx/haw1.mp3":["assets/sfx/haw1.mp3"],"assets/sfx/hh1.mp3":["assets/sfx/hh1.mp3"],"assets/sfx/hh2.mp3":["assets/sfx/hh2.mp3"],"assets/sfx/k1.mp3":["assets/sfx/k1.mp3"],"assets/sfx/k2.mp3":["assets/sfx/k2.mp3"],"assets/sfx/kch1.mp3":["assets/sfx/kch1.mp3"],"assets/sfx/kss1.mp3":["assets/sfx/kss1.mp3"],"assets/sfx/lalala1.mp3":["assets/sfx/lalala1.mp3"],"assets/sfx/oo1.mp3":["assets/sfx/oo1.mp3"],"assets/sfx/p1.mp3":["assets/sfx/p1.mp3"],"assets/sfx/p2.mp3":["assets/sfx/p2.mp3"],"assets/sfx/sh1.mp3":["assets/sfx/sh1.mp3"],"assets/sfx/sh2.mp3":["assets/sfx/sh2.mp3"],"assets/sfx/spsh1.mp3":["assets/sfx/spsh1.mp3"],"assets/sfx/swishswish1.mp3":["assets/sfx/swishswish1.mp3"],"assets/sfx/wehee1.mp3":["assets/sfx/wehee1.mp3"],"assets/sfx/ws1.mp3":["assets/sfx/ws1.mp3"],"assets/sfx/wssh1.mp3":["assets/sfx/wssh1.mp3"],"assets/sfx/wssh2.mp3":["assets/sfx/wssh2.mp3"],"assets/sfx/yay1.mp3":["assets/sfx/yay1.mp3"],"packages/cupertino_icons/assets/CupertinoIcons.ttf":["packages/cupertino_icons/assets/CupertinoIcons.ttf"]} | ||
{"assets/Permanent_Marker/PermanentMarker-Regular.ttf":["assets/Permanent_Marker/PermanentMarker-Regular.ttf"],"assets/images/back.png":["assets/images/back.png","assets/images/2x/back.png","assets/images/3.5x/back.png","assets/images/3x/back.png"],"assets/images/restart.png":["assets/images/restart.png","assets/images/2x/restart.png","assets/images/3.5x/restart.png","assets/images/3x/restart.png"],"assets/images/settings.png":["assets/images/settings.png","assets/images/2x/settings.png","assets/images/3.5x/settings.png","assets/images/3x/settings.png"],"assets/music/README.md":["assets/music/README.md"],"assets/music/background0.mp3":["assets/music/background0.mp3"],"assets/music/background1.mp3":["assets/music/background1.mp3"],"assets/music/background2.mp3":["assets/music/background2.mp3"],"assets/sfx/chih.wav":["assets/sfx/chih.wav"],"assets/sfx/husk.wav":["assets/sfx/husk.wav"],"assets/sfx/pug.wav":["assets/sfx/pug.wav"],"packages/cupertino_icons/assets/CupertinoIcons.ttf":["packages/cupertino_icons/assets/CupertinoIcons.ttf"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
Music in the template is by Mr Smith, and licensed under Creative Commons | ||
Attribution 4.0 International (CC BY 4.0). | ||
|
||
https://freemusicarchive.org/music/mr-smith | ||
|
||
Mr Smith's music is used in this template project with his explicit permission. | ||
Music was sourced from sites such as [pixabay.com](https://pixabay.com/music/search/genre/video%20games/) and [tunetank.com](https://tunetank.com/gaming/) |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
final List<String> imgList = [ | ||
'assets/images/dogs/husk1.jpg', | ||
'assets/images/dogs/chih2.jpg', | ||
'assets/images/dogs/pug3.jpg', | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2022, the Flutter project authors. Please see the AUTHORS file | ||
// for details. All rights reserved. Use of this source code is governed by a | ||
// BSD-style license that can be found in the LICENSE file. | ||
import '../dogio/doggo/descriptors.dart'; | ||
|
||
List<String> soundTypeToFilename(Breed breed) { | ||
switch (breed) { | ||
case Breed.chih: | ||
return ['chih.wav']; | ||
case Breed.husk: | ||
return ['husk.wav']; | ||
case Breed.pug: | ||
return ['pug.wav']; | ||
default: | ||
return ['pug.wav', 'chih.wav', 'husk.wav']; | ||
} | ||
} | ||
|
||
/// Allows control over loudness of different SFX types. | ||
double soundTypeToVolume(Breed breed) { | ||
switch (breed) { | ||
case Breed.chih: | ||
return 0.4; | ||
case Breed.pug: | ||
return 0.2; | ||
default: | ||
return 1.0; | ||
} | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.