forked from firka/flutter
begin migrating //flutter/dev/tools to null-safety (#80834)
This commit is contained in:
committed by
GitHub
parent
e5414695d4
commit
8654e4ae3e
@@ -13,6 +13,8 @@
|
||||
// This utility is run by `gen_localizations.dart` if --overwrite is passed
|
||||
// in as an option.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
/// This program extracts localized date symbols and patterns from the intl
|
||||
/// package for the subset of locales supported by the flutter_localizations
|
||||
/// package.
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
// This program generates a getMaterialTranslation() and a
|
||||
// getCupertinoTranslation() function that look up the translations provided by
|
||||
// the arb files. The returned value is a generated instance of a
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
// This program updates the language locale arb files with any missing resource
|
||||
// entries that are included in the English arb files. This is useful when
|
||||
// adding new resources for localization. You can just add the appropriate
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
import 'localizations_utils.dart';
|
||||
|
||||
String generateCupertinoHeader(String regenerateInstructions) {
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
import 'localizations_utils.dart';
|
||||
|
||||
String generateMaterialHeader(String regenerateInstructions) {
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
import 'dart:convert' show json;
|
||||
import 'dart:io';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user