diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8e92b76..c01abf5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,5 @@
+## 0.1.2
+* Fix incompatibility issues with Flutter 3.0.0
## 0.1.1
* Leading and trailing widget
* Customizable extra line height
diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist
index a060db6..1579fb3 100644
--- a/example/ios/Runner/Info.plist
+++ b/example/ios/Runner/Info.plist
@@ -41,5 +41,7 @@
UIViewControllerBasedStatusBarAppearance
+ CADisableMinimumFrameDurationOnPhone
+
diff --git a/example/pubspec.lock b/example/pubspec.lock
index a9c80dc..0747c08 100644
--- a/example/pubspec.lock
+++ b/example/pubspec.lock
@@ -42,7 +42,7 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
- version: "1.15.0"
+ version: "1.16.0"
cupertino_icons:
dependency: "direct main"
description:
@@ -56,7 +56,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
- version: "1.2.0"
+ version: "1.3.0"
flutter:
dependency: "direct main"
description: flutter
@@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
- version: "0.1.1"
+ version: "0.1.2"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -87,7 +87,7 @@ packages:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
- version: "0.1.3"
+ version: "0.1.4"
meta:
dependency: transitive
description:
@@ -101,7 +101,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
- version: "1.8.0"
+ version: "1.8.1"
sky_engine:
dependency: transitive
description: flutter
@@ -113,7 +113,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
- version: "1.8.1"
+ version: "1.8.2"
stack_trace:
dependency: transitive
description:
@@ -148,21 +148,14 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
- version: "0.4.8"
- typed_data:
- dependency: transitive
- description:
- name: typed_data
- url: "https://pub.dartlang.org"
- source: hosted
- version: "1.3.0"
+ version: "0.4.9"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
sdks:
- dart: ">=2.14.0 <3.0.0"
+ dart: ">=2.17.0-0 <3.0.0"
flutter: ">=1.17.0"
diff --git a/lib/src/chord_parser.dart b/lib/src/chord_parser.dart
index c8c9ddd..f111633 100644
--- a/lib/src/chord_parser.dart
+++ b/lib/src/chord_parser.dart
@@ -37,7 +37,6 @@ class ChordProcessor {
//check if we have a long line
if (textWidth(_currentLine, lyricsStyle) >= _media) {
- print('found a big line $_currentLine');
//work our way through the line and split when we need to
for (var j = 0; j < _currentLine.length; j++) {
_character = _currentLine[j];
diff --git a/lib/src/lyrics_renderer.dart b/lib/src/lyrics_renderer.dart
index cafd4c7..cbd91e9 100644
--- a/lib/src/lyrics_renderer.dart
+++ b/lib/src/lyrics_renderer.dart
@@ -156,7 +156,7 @@ class _LyricsRendererState extends State {
void initState() {
super.initState();
_controller = ScrollController();
- WidgetsBinding.instance?.addPostFrameCallback((_) {
+ WidgetsBinding.instance.addPostFrameCallback((_) {
// executes after build
_scrollToEnd();
});
diff --git a/pubspec.lock b/pubspec.lock
index 2aef21f..ae3ee7e 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -98,7 +98,7 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
- version: "1.15.0"
+ version: "1.16.0"
convert:
dependency: transitive
description:
@@ -126,7 +126,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
- version: "1.2.0"
+ version: "1.3.0"
file:
dependency: transitive
description:
@@ -178,7 +178,7 @@ packages:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
- version: "0.1.3"
+ version: "0.1.4"
meta:
dependency: transitive
description:
@@ -206,7 +206,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
- version: "1.8.0"
+ version: "1.8.1"
pub_semver:
dependency: transitive
description:
@@ -232,7 +232,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
- version: "1.8.1"
+ version: "1.8.2"
stack_trace:
dependency: transitive
description:
@@ -267,7 +267,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
- version: "0.4.8"
+ version: "0.4.9"
typed_data:
dependency: transitive
description:
@@ -281,7 +281,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
- version: "2.1.1"
+ version: "2.1.2"
watcher:
dependency: transitive
description:
@@ -297,5 +297,5 @@ packages:
source: hosted
version: "3.1.0"
sdks:
- dart: ">=2.14.0 <3.0.0"
+ dart: ">=2.17.0-0 <3.0.0"
flutter: ">=1.17.0"
diff --git a/pubspec.yaml b/pubspec.yaml
index 24bac4a..653d840 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: flutter_chord
description: Lyrics Chord parser and renderer for Flutter. It also comes with transpose and auto-scroll features.
-version: 0.1.1
+version: 0.1.2
repository: https://github.com/paurakhsharma/flutter_chord
environment: