From 0f478ca251f13d2c68408939a145d9f29588888c Mon Sep 17 00:00:00 2001 From: Nickr Date: Tue, 16 Mar 2021 20:33:38 +0800 Subject: [PATCH] setup for ver 0.3.0 --- CHANGELOG.md | 5 +++++ README.md | 9 +-------- example/pubspec.lock | 2 +- pubspec.yaml | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ab481a..f220dea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [0.3.0] - March 06, 2021 + +* Migrated to null safety. Beware for possible breaking changes. +* Added disabled property that expects a true or false value. Defaults to false if no value was passed. + ## [0.3.0-nullsafety.0] - March 06, 2021 * Migrated to null safety. Beware for possible breaking changes. diff --git a/README.md b/README.md index dfbc031..4d22c72 100644 --- a/README.md +++ b/README.md @@ -22,14 +22,7 @@ Add this to your package's `pubspec.yaml` file: ```yaml dependencies: - flutter_switch: ^0.2.2 -``` - -For the null-safety version: - -```yaml -dependencies: - flutter_switch: ^0.3.0-nullsafety.0 + flutter_switch: ^0.3.0 ``` You can install packages from the command line with Flutter: diff --git a/example/pubspec.lock b/example/pubspec.lock index 5e07dfd..f95ff06 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -68,7 +68,7 @@ packages: path: ".." relative: true source: path - version: "0.3.0-nullsafety.0" + version: "0.3.0" flutter_test: dependency: "direct dev" description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index 693360a..7234b0d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_switch description: A custom switch widget that can have a custom height and width, borders, border radius, colors, toggle size, custom text and icons inside the toggle. -version: 0.3.0-nullsafety.0 +version: 0.3.0 homepage: https://github.com/boringdeveloper/FlutterSwitch environment: