Skip to content

Commit

Permalink
Develop (lohanidamodar#37)
Browse files Browse the repository at this point in the history
* fix typo (lohanidamodar#29)

* Update routes.dart (lohanidamodar#30)

* Bike app home and details page

* auth 3 screen

* screenshots and readme of bike and auth screen

* updated for latest flutter stable version

* placeholder image
  • Loading branch information
lohanidamodar authored Dec 18, 2019
1 parent d4a219e commit 298b081
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,5 @@ build/
**key.properties
.ui
**/google-services.json
**/GoogleService-Info.plist
**/GoogleService-Info.plist
.flutter-plugins-dependencies
1 change: 1 addition & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
org.gradle.jvmargs=-Xmx1536M
android.enableJetifier=true
android.useAndroidX=true
android.enableR8=true
Binary file added assets/placeholder.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/src/widgets/network_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class PNetworkImage extends StatelessWidget {
return CachedNetworkImage(
imageUrl: image,
placeholder: (context, url) => Center(child: CircularProgressIndicator()),
errorWidget: (context, url, error) => Center(child: Icon(Icons.error)),
errorWidget: (context, url, error) => Image.asset('assets/placeholder.jpg',fit: BoxFit.cover,),
fit: fit,
width: width,
height: height,
Expand Down
3 changes: 2 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies:
provider: ^3.1.0
google_sign_in: ^4.0.7
cloud_firestore: ^0.12.9+4
cached_network_image: ^1.1.1
cached_network_image: ^2.0.0-rc
package_info: ^0.4.0+6
firebase_remote_config: ^0.3.0
firebase_core: ^0.4.1+5
Expand Down Expand Up @@ -64,6 +64,7 @@ flutter:

# To add assets to your application, add an assets section, like this:
assets:
- assets/
- assets/smwallet/
- assets/hotel/
- assets/icon/
Expand Down

0 comments on commit 298b081

Please sign in to comment.