updated play-by-play details page to give button press functionality for the navigation buttons.

This commit is contained in:
kwainright
2020-04-22 18:26:54 -04:00
parent 99cff9ac7a
commit 3f87598680
3 changed files with 42 additions and 38 deletions

View File

@@ -213,14 +213,9 @@
files = ( files = (
); );
inputPaths = ( inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
"${PODS_ROOT}/../Flutter/Flutter.framework",
"${BUILT_PRODUCTS_DIR}/shared_preferences/shared_preferences.framework",
); );
name = "[CP] Embed Pods Frameworks"; name = "[CP] Embed Pods Frameworks";
outputPaths = ( outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences.framework",
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;

View File

@@ -128,26 +128,32 @@ class Details extends StatelessWidget {
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Container( Container(
child: Card( child: GestureDetector(
child: SizedBox( onTap: () => Navigator.pushNamed(context, '/Standing'),
width: 90, child: Card(
height: 30, child: SizedBox(
child: Center( width: 90,
child: Text('Standings', height: 30,
style: TextStyle(fontSize: 16), child: Center(
child: Text('Standings',
style: TextStyle(fontSize: 16),
),
), ),
), ),
), ),
), ),
), ),
Container( Container(
child: Card( child: GestureDetector(
child: SizedBox( onTap: () => Navigator.pushNamed(context, '/Schedule'),
width: 90, child: Card(
height: 30, child: SizedBox(
child: Center( width: 90,
child: Text('Schedule', height: 30,
style: TextStyle(fontSize: 16), child: Center(
child: Text('Schedule',
style: TextStyle(fontSize: 16),
),
), ),
), ),
), ),
@@ -171,13 +177,16 @@ class Details extends StatelessWidget {
), ),
Container( Container(
color: Colors.black12, color: Colors.black12,
child: Card( child: GestureDetector(
child: SizedBox( onTap: () => Navigator.pushNamed(context, '/Chat'),
width: 50, child: Card(
height: 30, child: SizedBox(
child: Center( width: 50,
child: Text('Chat', height: 30,
style: TextStyle(fontSize: 16), child: Center(
child: Text('Chat',
style: TextStyle(fontSize: 16),
),
), ),
), ),
), ),

View File

@@ -7,21 +7,21 @@ packages:
name: archive name: archive
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.13" version: "2.0.11"
args: args:
dependency: transitive dependency: transitive
description: description:
name: args name: args
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.0" version: "1.5.2"
async: async:
dependency: transitive dependency: transitive
description: description:
name: async name: async
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.4.1" version: "2.4.0"
bloc: bloc:
dependency: transitive dependency: transitive
description: description:
@@ -35,21 +35,21 @@ packages:
name: boolean_selector name: boolean_selector
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "1.0.5"
charcode: charcode:
dependency: transitive dependency: transitive
description: description:
name: charcode name: charcode
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.3" version: "1.1.2"
collection: collection:
dependency: transitive dependency: transitive
description: description:
name: collection name: collection
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.14.12" version: "1.14.11"
convert: convert:
dependency: transitive dependency: transitive
description: description:
@@ -63,7 +63,7 @@ packages:
name: crypto name: crypto
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.4" version: "2.1.3"
cupertino_icons: cupertino_icons:
dependency: "direct main" dependency: "direct main"
description: description:
@@ -113,7 +113,7 @@ packages:
name: image name: image
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.12" version: "2.1.4"
intl: intl:
dependency: transitive dependency: transitive
description: description:
@@ -176,7 +176,7 @@ packages:
name: quiver name: quiver
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.3" version: "2.0.5"
rxdart: rxdart:
dependency: transitive dependency: transitive
description: description:
@@ -230,7 +230,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.7.0" version: "1.5.5"
stack_trace: stack_trace:
dependency: transitive dependency: transitive
description: description:
@@ -272,7 +272,7 @@ packages:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.2.15" version: "0.2.11"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@@ -293,7 +293,7 @@ packages:
name: xml name: xml
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.6.1" version: "3.5.0"
sdks: sdks:
dart: ">=2.6.0 <3.0.0" dart: ">=2.6.0 <3.0.0"
flutter: ">=1.12.13+hotfix.4 <2.0.0" flutter: ">=1.12.13+hotfix.4 <2.0.0"