Closed MartimTSilva closed 2 years ago
some problem
same here
got the same error too.
I have de same error. To resolve it i downgrade the version of Flutter, the problem is with the version 1.10 of Flutter.
I hit this error as soon as I upgraded to flutter 2.10.0. My app is not yet using full null-safety, I suspect flutter 2.10 is forcing, or assuming, something along those lines by default.
Still waiting on map_controller
On 02/06/2022 1:09 AM Vasiliy Ditsyak ***@***.***> wrote:
I hit this error as soon as I upgraded to flutter 2.10.0. My app is not yet using full null-safety, I suspect flutter 2.10 is forcing, or assuming, something along those lines by default.
Why not to migrate to null safety? —Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>
I can't import the package without getting errors. I've migrated my project to null-safety, and now just by importing awesome_select package I get these errors.
+1 on flutter 2.10.0
i had the same problem when i upgraded to flutter 2.10. it was fixed when I downgraded to version 2.8.1 on stable channel.
same problem after upgrading
Same problem after flutter upgrading
../development/flutter/.pub-cache/hosted/pub.dartlang.org/awesome_select-5.1.0/lib/src/chip_theme.dart:61:38: Error: A value of type 'Color?' can't be assigned to a variable of type 'Color' because 'Color?' is nullable and 'Color' isn't.
- 'Color' is from 'dart:ui'. final Color primaryColor = color ??
../development/flutter/.pub-cache/hosted/pub.dartlang.org/awesome_select-5.1.0/lib/src/chip_theme.dart:85:63: Error: A value of type 'TextStyle?' can't be assigned to a variable of type 'TextStyle' because 'TextStyle?' is nullable and 'TextStyle' isn't.
- 'TextStyle' is from 'package:flutter/src/painting/text_style.dart' ('../development/flutter/packages/flutter/lib/src/painting/text_style.dart'). final TextStyle defaultLabelStyle = ChipTheme.of(context).labelStyle; ^ Failed to compile application.
Same problem here
Same problem here
Same problem here + 1
change dependence for
awesome_select: git: url: https://github.com/Flutter-Fox/flutter_awesome_select.git ref: hotfix-5.1.0
hi, someone can help newest update in this repository to pub.dev/packages ? please :(
Fixed in #27
I can't import the package without getting errors. I've migrated my project to null-safety, and now just by importing awesome_select package I get these errors.