We are executing "flutter packages pub run build_runner watch --delete-conflicting-outputs" but it throws a "Invalid argument(s): name shouldn't end with a '.'" error. It was working fine until we upgrade flutter version from 3.3.10 to 3.7.0. The file which throws that exception is "logger.dart"
change your loggin version to "1.1.0" from your pubspec.lock file. then run flutter pub get command
logging:
dependency: transitive
description:
name: logging
sha256: c0bbfe94d46aedf9b8b3e695cf3bd48c8e14b35e3b2c639e0aa7755d589ba946
url: "https://pub.dev"
source: hosted
version: "1.1.0"