argument_equal_default_no_need_set

Group: style

Maturity: stable

Code Sharp v0.0.1

Since info is static, may be stale
flutter

View all Lint Rules

Using the Linter

The argument equal default, so no need set.

BAD:

Column(
  mainAxisAlignment: MainAxisAlignment.start,
  mainAxisSize: MainAxisSize.max,
  crossAxisAlignment: CrossAxisAlignment.center,
  children: <Widget>[
    FlutterLogo(),
    FlutterLogo(),
  ]
)

GOOD:

Column(
  children: <Widget>[
    FlutterLogo(),
    FlutterLogo(),
  ]
)