Skip to content

Fix Error when scrollLineBuilder is used#3

Open
D-vipe wants to merge 4 commits intoReliableCauliflower:masterfrom
D-vipe:master
Open

Fix Error when scrollLineBuilder is used#3
D-vipe wants to merge 4 commits intoReliableCauliflower:masterfrom
D-vipe:master

Conversation

@D-vipe
Copy link
Copy Markdown

@D-vipe D-vipe commented Nov 28, 2022

Fixed those places causing error due to assuming value is not null.

Comment thread analysis_options.yaml
avoid_classes_with_only_static_members: false
prefer_single_quotes: true No newline at end of file
prefer_single_quotes: true
lines_longer_than_80_chars: false
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Why change the standard flutter rule? The new formatting made the code way less readable and convenient to use.

@ReliableCauliflower
Copy link
Copy Markdown
Owner

Can you please explain how exactly an error was reproduced and what was the wrong behavior? When a variable is assumed to be non-nullable at some point it's because it should probably be non-nullable.

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