Open Wian-TMC opened 3 years ago
any solution?
Project -> External Libraries - > Dart libraries - > google_map_place_picker -> src -> component -> prediction_tile.
inside the prediction file.
Use final textColor = Theme.of(context).textTheme.bodyText1.color; instead of final textColor = Theme.of(context).textTheme.title.color
final textColor = Theme.of(context).textTheme.bodyText1.color;
this worked
Describe the bug I am getting the build error
To Reproduce Steps to reproduce the behavior: Import the package and try to build on Android with targetSdkVersion and compileSdkVersion set to 30 Expected behavior A successful build
Flutter Doctor -v [✓] Flutter (Channel stable, 2.5.3, on macOS 11.5.2 20G95 darwin-x64, locale en-ZA) • Flutter version 2.5.3 at /Users/wiansnyman/Development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 18116933e7 (6 weeks ago), 2021-10-15 10:46:35 -0700 • Engine revision d3ea636dc5 • Dart version 2.14.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at /Users/wiansnyman/Library/Android/sdk • Platform android-31, build-tools 30.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.5.1, Build version 12E507 • CocoaPods version 1.11.2
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 48.1.2 • Dart plugin version 193.7361 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.62.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.28.0
[✓] Connected device (2 available) • iPhone 11 Pro (mobile) • 361FD73C-1A6F-4F2F-AFBA-F1596DFBEF5E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator) • Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.55
• No issues found!