2024年11月19日星期二

Android Studio always reports a add const warning how can I close it?

 Open analysis_options.yaml file and add the following linter rule:

include: package:flutter_lints/flutter.yaml

linter:
  rules:
        prefer_const_constructors: false
        prefer_const_literals_to_create_immutables: false







pub get

沒有留言:

發佈留言