From 5e4c336c4b85218f858904d3e280d66a84226035 Mon Sep 17 00:00:00 2001 From: kconnel7 Date: Tue, 31 Mar 2020 16:00:00 -0400 Subject: [PATCH] Monthly Calendar - No API --- lib/screens/schedule.dart | 8 +++++++- pubspec.lock | 23 ++++++++++++++++++++++- pubspec.yaml | 1 + 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/lib/screens/schedule.dart b/lib/screens/schedule.dart index c827f1f..0a3f716 100644 --- a/lib/screens/schedule.dart +++ b/lib/screens/schedule.dart @@ -1,6 +1,10 @@ import 'package:flutter/material.dart'; +import '../monthly_calendar.dart'; class Schedule extends StatelessWidget{ + + final calendar = Calendar(); + @override Widget build(BuildContext context) { return StatefulBuilder( @@ -10,7 +14,9 @@ class Schedule extends StatelessWidget{ title: Text("49ers"), backgroundColor: Colors.green, ), - body: Text("Schedule Goes Here"), + body: Container ( + child: calendar, + ), drawer: Drawer( child: ListView( children: [ diff --git a/pubspec.lock b/pubspec.lock index a5d537b..b0162bd 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -109,6 +109,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.4" + intl: + dependency: transitive + description: + name: intl + url: "https://pub.dartlang.org" + source: hosted + version: "0.16.1" matcher: dependency: transitive description: @@ -172,6 +179,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.23.1" + simple_gesture_detector: + dependency: transitive + description: + name: simple_gesture_detector + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.4" sky_engine: dependency: transitive description: flutter @@ -205,6 +219,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.5" + table_calendar: + dependency: "direct main" + description: + name: table_calendar + url: "https://pub.dartlang.org" + source: hosted + version: "2.2.3" term_glyph: dependency: transitive description: @@ -218,7 +239,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.15" + version: "0.2.11" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 7cf311d..3667529 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -26,6 +26,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^0.1.2 + table_calendar: dev_dependencies: flutter_test: