-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
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
Replased containerRenderBox.size to containerRenderBox.constraints.biggest #110
Conversation
@@ -86,7 +86,7 @@ class BarChartState extends AnimatedWidgetBaseState<BarChart> { | |||
}, | |||
child: CustomPaint( | |||
key: _chartKey, | |||
size: getDefaultSize(context), | |||
size: chartSize, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay.
Please do not change this line, we set the default size it means if it has not any size constrains, it uses this default size (It will be ignored if we provide a size for it) then let it be like before, it is working properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okey i will remove that. I cant do it in the following days. After monday
@@ -91,7 +91,7 @@ class LineChartState extends AnimatedWidgetBaseState<LineChart> { | |||
}, | |||
child: CustomPaint( | |||
key: _chartKey, | |||
size: getDefaultSize(context), | |||
size: chartSize, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here.
@@ -87,7 +87,7 @@ class PieChartState extends AnimatedWidgetBaseState<PieChart> { | |||
}, | |||
child: CustomPaint( | |||
key: _chartKey, | |||
size: getDefaultSize(context), | |||
size: chartSize, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here.
Helooo? |
Could we have this merged please? |
Fix issue 100.
RenderBox.size should not be used when building the layout.