2 ms·
That flutter code could have been done in 2 perfectly good lines, if you weren't being deliberately misleading, and one is an import that isn't exactly going to
by whalabi 9y ago
That flutter code could have been done in 2 perfectly good lines, if you weren't being deliberately misleading, and one is an import that isn't exactly going to cost you cognitive load.
Your JS code isn't better at all. They're just as easy as eachother.