Comments (3)
Figured out how to fix it, the error is in line 311 and just change to a fixed color.
from flutter_datetime_picker.
I am getting the same issue, have you figured it out?
from flutter_datetime_picker.
This will cause loss of functionality, you can just remove the constant color. As the error message states theme.backgroundColor is Color and therefore never null so the fall back ?? Colors.white
is redundant and can simply be removed.
from flutter_datetime_picker.
Related Issues (20)
- Embed in widget tree HOT 1
- How to disable roller effect
- Warning: Operand of null-aware operation '??' has type 'Color' which excludes null. HOT 5
- How to set Date Picker to display in Buddhist year?
- null safe HOT 3
- How to include year selection in DatePicker.showDateTimePicker?
- 怎么只显示年和月啊?? HOT 2
- The action text in Arabic doesn't have a padding because it is rtl text HOT 1
- How to convert 24hr format to 12hr format?
- Add Amharic localization
- Validating the Date Picker
- Can I Add A Custom Date format? HOT 1
- Error: DatePickerTheme' isn't a function. HOT 5
- Infinite scroll in time picker
- flutter 3.10 HOT 9
- DateTime Scrolling/picking problem only on Flutter Web HOT 2
- DatePickerTheme is imported from both HOT 11
- The Japanese languageCode is incorrect. HOT 1
- Conflict of DatePickerTheme Import Names Causing Build Errors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_datetime_picker.