Skip to content

Commit

Permalink
migrate to nullSafety, add showScrollBar
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamalianpour committed Mar 25, 2021
1 parent 214c4ab commit a19c2d1
Show file tree
Hide file tree
Showing 13 changed files with 289 additions and 200 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## [0.0.1]

* first release
## [0.0.2]
* migrate to nullSafety
* add showScrollBar to [TimePlannerStyle]

## [0.0.1+1]

* fix some issue in readme and pubspec.yaml
* fix some issue in readme and pubspec.yaml
## [0.0.1]
* first release
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Time planner

![Pub Version](https://img.shields.io/pub/v/time_planner)
[![Pub Version](https://img.shields.io/pub/v/time_planner)](https://pub.dev/packages/time_planner)

A beautiful, easy to use and customizable time planner for flutter mobile 📱, desktop 🖥 and web 🌐

Expand All @@ -23,7 +23,7 @@ Each row show a hour and each column show a day but you can change the title of

```yaml
dependencies:
time_planner: ^0.0.1
time_planner: ^0.0.2
```
##### 2. import time planner lib
Expand Down Expand Up @@ -91,6 +91,7 @@ style: TimePlannerStyle(
// default value for width is 80
cellWidth: 60,
dividerColor: Colors.white,
showScrollBar: true,
),
```

Expand Down
10 changes: 4 additions & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,10 @@ class _MyHomePageState extends State<MyHomePage> {
),
],
tasks: tasks,
// style: TimePlannerStyle(
// backgroundColor: Colors.blueGrey[900],
// cellHeight: 60,
// cellWidth: 60,
// dividerColor: Colors.white,
// ),
style: TimePlannerStyle(
// cellHeight: 60,
// cellWidth: 60,
showScrollBar: true),
),
),
floatingActionButton: FloatingActionButton(
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.1+1"
version: "0.0.2"
typed_data:
dependency: transitive
description:
Expand All @@ -157,5 +157,5 @@ packages:
source: hosted
version: "2.1.0"
sdks:
dart: ">=2.12.0-0.0 <3.0.0"
dart: ">=2.12.0 <3.0.0"
flutter: ">=1.17.0"
Loading

0 comments on commit a19c2d1

Please sign in to comment.