Skip to content

Conversation

@meminb
Copy link

@meminb meminb commented Feb 2, 2024

No description provided.

Copy link
Owner

@jja08111 jja08111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @meminb! Thanks for your contribution!

Can you revert code formatting? I think this PR represents "Add more styling" not code formatting. Thanks.

Comment on lines 17 to 20
Color kLineColor1 = Color(0x44757575);
Color kLineColor2 = Color(0x77757575);
Color kLineColor3 = Color(0xAA757575);
Color kTextColor = Color(0xFF757575);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change here as const and then pass the style prop to the child component? I think it's not good using global mutable variables.


class Chart extends StatefulWidget {
const Chart({
Chart({
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here

Suggested change
Chart({
const Chart({

@jja08111 jja08111 self-assigned this Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants