We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I define this:
calendarStyle: const CalendarStyle( weekendTextStyle: TextStyle( color: Colors.grey, ), selectedDecoration: BoxDecoration( color: Color.fromRGBO(42, 87, 160, 1), shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), )), )
But when I selected a date there is an error: shape != BoxShape.circle || borderRadius == null js_primitives.dart:30 is not true
The text was updated successfully, but these errors were encountered:
try to set decoration defaultDecoration, outsideDecoration and rowDecoration, eg: selectedDecoration: BoxDecoration( color: Color.fromRGBO(42, 87, 160, 1), shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), )), defaultDecoration: BoxDecoration( shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), ), ), outsideDecoration: BoxDecoration( shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), ), ), rawDecoration: BoxDecoration( shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), ), ), that works for me
selectedDecoration: BoxDecoration( color: Color.fromRGBO(42, 87, 160, 1), shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), )), defaultDecoration: BoxDecoration( shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), ), ), outsideDecoration: BoxDecoration( shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), ), ), rawDecoration: BoxDecoration( shape: BoxShape.rectangle, borderRadius: BorderRadius.all(Radius.circular(10)), ), ),
Sorry, something went wrong.
Thank you, I'll try it.
No branches or pull requests
I define this:
But when I selected a date there is an error: shape != BoxShape.circle || borderRadius == null
js_primitives.dart:30 is not true
The text was updated successfully, but these errors were encountered: