Giter Club home page Giter Club logo

Comments (6)

bartekpacia avatar bartekpacia commented on June 11, 2024 1

use_colored_boxit's a no no, see below

Screen.Recording.2022-05-13.at.5.39.21.PM.mov

from flutter_corelibrary.

bartekpacia avatar bartekpacia commented on June 11, 2024

new use_enums

I thought Dart only supports primitive enums (I mean, like C)

Oh apparently it's a new cool 2.17 feature

from flutter_corelibrary.

bartekpacia avatar bartekpacia commented on June 11, 2024

use_super_parameters – awesome & great & ❤️

Interesting thing though is that Key? key argument is not subject to analyzer's dart[unused_element] lint if it's in a public constructor. See below:

Screen.Recording.2022-05-13.at.5.52.48.PM.mov

from flutter_corelibrary.

shilangyu avatar shilangyu commented on June 11, 2024

Interesting thing though is that Key? key argument is not subject to analyzer's dart[unused_element] lint if it's in a public constructor.

None of the properties are subject to it in public constructors. Analyzer can now detect unused props in private constructors.

from flutter_corelibrary.

bartekpacia avatar bartekpacia commented on June 11, 2024

Ah, right. I didn't bother to drill down deeper :P

use_enums – okay as well
null_check_on_nullable_type_parameter – haven't found a single place in 2 medium-sized projects where it'd appear, so I guess OK

from flutter_corelibrary.

bartekpacia avatar bartekpacia commented on June 11, 2024

as for use_colored_box – it's fixed in dart-lang/linter v1.24.0

from flutter_corelibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.