From 2d9ea1dbec2f14be65aa09331a96da7620284c87 Mon Sep 17 00:00:00 2001 From: Andrew Brogdon Date: Thu, 14 Mar 2019 13:32:28 -0700 Subject: [PATCH] Added null checks to PressableCard. --- veggieseasons/ios/Runner.xcodeproj/project.pbxproj | 3 --- veggieseasons/lib/widgets/veggie_card.dart | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/veggieseasons/ios/Runner.xcodeproj/project.pbxproj b/veggieseasons/ios/Runner.xcodeproj/project.pbxproj index f976cf612..4ba966cfc 100644 --- a/veggieseasons/ios/Runner.xcodeproj/project.pbxproj +++ b/veggieseasons/ios/Runner.xcodeproj/project.pbxproj @@ -182,7 +182,6 @@ TargetAttributes = { 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; - DevelopmentTeam = S8QB4VV633; }; }; }; @@ -427,7 +426,6 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = S8QB4VV633; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -452,7 +450,6 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = S8QB4VV633; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", diff --git a/veggieseasons/lib/widgets/veggie_card.dart b/veggieseasons/lib/widgets/veggie_card.dart index 09718a9e3..723bb67a3 100644 --- a/veggieseasons/lib/widgets/veggie_card.dart +++ b/veggieseasons/lib/widgets/veggie_card.dart @@ -20,6 +20,11 @@ class PressableCard extends StatefulWidget { this.onPressed, Key key, }) : assert(child != null), + assert(borderRadius != null), + assert(upElevation != null), + assert(downElevation != null), + assert(shadowColor != null), + assert(duration != null), super(key: key); final VoidCallback onPressed;