Closed Aman-Malhotra closed 5 years ago
When this bug will be closed ?
Thanks
So, you fixed this six months ago, but the latest package version is from eight months ago...so how are users able to easily import your package in pubspec.yaml?
Just paste the source code into a random file in your project and replace the line specified above, then remove the package from your pubspec.
@cyberpwnn thanks
Or one could add the following to pubspec.yaml dependencies (for the latest commit):
flutter_duration_picker:
git:
url: https://github.com/cdharris/flutter_duration_picker
ref: a44d26
The clock circle being painted in your flutter_duration_picker.dart file is always white in color even when I change the brightness in ThemeData to Brightness.dark. In the flutter_duration_picket.dart file inside the CustomPainter class named _DialPainter inside paint overridden function see this code ( Images attatched are in Brightness.dark mode )
change this code to
so that the color of clock background depends on the theme of the app i.e if the app is in Dark theme or in Light theme( brightness in ThemeData).