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
Describe the bug A clear and concise description of what the bug is.
To reproduce Please include a short code sample that can be used to reproduce the problem. TableCalendar(
calendarStyle: CalendarStyle( todayTextStyle: AppTextStyles.n14w600.black, todayDecoration: const BoxDecoration(borderRadius: null), rangeHighlightColor: AppColors.progressBackground, rangeStartTextStyle: AppTextStyles.n14w600.white, rangeEndTextStyle: AppTextStyles.n14w600.white, rangeStartDecoration: BoxDecoration( borderRadius: BorderRadius.circular(10), color: AppColors.primaryLightPurple, ), rangeEndDecoration: BoxDecoration( color: AppColors.primaryLightPurple, borderRadius: BorderRadius.circular(10), ), ), rowHeight: 40, currentDay: DateTime.now(), focusedDay: DateTime.now(), firstDay: DateTime(2000), lastDay: DateTime.now(), onFormatChanged: (format) { }, onPageChanged: (focusedDay) { _focusedDay = focusedDay; }, rangeEndDay: _rangeEnd, rangeStartDay: _rangeStart, rangeSelectionMode: RangeSelectionMode.toggledOn, onRangeSelected: _onRangeSelected, headerStyle: HeaderStyle( titleCentered: true, titleTextStyle: AppTextStyles.n16w700, formatButtonVisible: false, ), daysOfWeekStyle: DaysOfWeekStyle( weekdayStyle: AppTextStyles.n12w700.primaryPurple, weekendStyle: AppTextStyles.n12w700.primaryPurple, ), ),
Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Output of flutter doctor Paste the result of this command here. The following assertion was thrown building AnimatedContainer(duration: 250ms, Alignment.center, padding: EdgeInsets.zero, bg: BoxDecoration(color: Color(0xff6262d5), borderRadius: BorderRadius.circular(10.0)), margin: EdgeInsets.all(6.0), clipBehavior: Clip.none, dirty, state: _AnimatedContainerState#d3f3a(ticker active, AlignmentGeometryTween(Alignment.center → Alignment.center), padding: EdgeInsetsGeometryTween(EdgeInsets.zero → EdgeInsets.zero), bg: DecorationTween(BoxDecoration(shape: circle) → BoxDecoration(color: Color(0xff6262d5), borderRadius: BorderRadius.circular(10.0))), margin: EdgeInsetsGeometryTween(EdgeInsets.all(6.0) → EdgeInsets.all(6.0)))): 'package:flutter/src/painting/box_decoration.dart': Failed assertion: line 128 pos 12: 'shape != BoxShape.circle || borderRadius == null': is not true.
flutter doctor
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
you need to set all decoration
Sorry, something went wrong.
Looks like duplicate of #583
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
To reproduce
Please include a short code sample that can be used to reproduce the problem.
TableCalendar(
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Output of
flutter doctor
Paste the result of this command here.
The following assertion was thrown building AnimatedContainer(duration: 250ms, Alignment.center, padding: EdgeInsets.zero, bg: BoxDecoration(color: Color(0xff6262d5), borderRadius: BorderRadius.circular(10.0)), margin: EdgeInsets.all(6.0), clipBehavior: Clip.none, dirty, state: _AnimatedContainerState#d3f3a(ticker active, AlignmentGeometryTween(Alignment.center → Alignment.center), padding: EdgeInsetsGeometryTween(EdgeInsets.zero → EdgeInsets.zero), bg: DecorationTween(BoxDecoration(shape: circle) → BoxDecoration(color: Color(0xff6262d5), borderRadius: BorderRadius.circular(10.0))), margin: EdgeInsetsGeometryTween(EdgeInsets.all(6.0) → EdgeInsets.all(6.0)))): 'package:flutter/src/painting/box_decoration.dart': Failed assertion: line 128 pos 12: 'shape != BoxShape.circle || borderRadius == null': is not true.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: