diff --git a/packages/platform_linux/lib/platform_linux.dart b/packages/platform_linux/lib/platform_linux.dart index 2b316f2c..417bbf06 100644 --- a/packages/platform_linux/lib/platform_linux.dart +++ b/packages/platform_linux/lib/platform_linux.dart @@ -1,6 +1,6 @@ /// Linux extensions on the [platform](https://pub.dev/packages/platform) /// package for detecting Linux distro and desktop environment. -library platform_linux; +library; export 'src/linux_desktop.dart'; export 'src/linux_distro.dart'; diff --git a/packages/safe_change_notifier/lib/safe_change_notifier.dart b/packages/safe_change_notifier/lib/safe_change_notifier.dart index c9750839..e34f0679 100644 --- a/packages/safe_change_notifier/lib/safe_change_notifier.dart +++ b/packages/safe_change_notifier/lib/safe_change_notifier.dart @@ -2,7 +2,7 @@ /// that make `notifyListeners()` a no-op, rather than an error, after disposal. /// /// ![safe_change_notifier](https://github.com/canonical/ubuntu-flutter-plugins/raw/main/packages/safe_change_notifier/images/safe_change_notifier.png) -library safe_change_notifier; +library; export 'src/change_notifier.dart'; export 'src/state_notifier.dart'; diff --git a/packages/timezone_map/example/.fvmrc b/packages/timezone_map/example/.fvmrc deleted file mode 120000 index 12f6335c..00000000 --- a/packages/timezone_map/example/.fvmrc +++ /dev/null @@ -1 +0,0 @@ -../../.fvmrc \ No newline at end of file diff --git a/packages/timezone_map/lib/timezone_map.dart b/packages/timezone_map/lib/timezone_map.dart index ffd73baf..a8f110af 100644 --- a/packages/timezone_map/lib/timezone_map.dart +++ b/packages/timezone_map/lib/timezone_map.dart @@ -1,4 +1,4 @@ -library timezone_map; +library; export 'src/controller.dart'; export 'src/exception.dart'; diff --git a/packages/timezone_map/pubspec.yaml b/packages/timezone_map/pubspec.yaml index d62faff3..643a6f5d 100644 --- a/packages/timezone_map/pubspec.yaml +++ b/packages/timezone_map/pubspec.yaml @@ -23,7 +23,6 @@ dependencies: xml: ^6.1.0 dev_dependencies: - build_runner: ^2.2.0 flutter_test: sdk: flutter mockito: 5.4.4 diff --git a/packages/ubuntu_flavor/lib/ubuntu_flavor.dart b/packages/ubuntu_flavor/lib/ubuntu_flavor.dart index 9d09289a..62fd9cd2 100644 --- a/packages/ubuntu_flavor/lib/ubuntu_flavor.dart +++ b/packages/ubuntu_flavor/lib/ubuntu_flavor.dart @@ -8,6 +8,6 @@ /// print(flavor); /// } /// ``` -library ubuntu_flavor; +library; export 'src/ubuntu_flavor.dart'; diff --git a/packages/ubuntu_lints/lib/ubuntu_lints.dart b/packages/ubuntu_lints/lib/ubuntu_lints.dart index 5bf18b6c..316a905a 100644 --- a/packages/ubuntu_lints/lib/ubuntu_lints.dart +++ b/packages/ubuntu_lints/lib/ubuntu_lints.dart @@ -1 +1 @@ -library ubuntu_lints; +library; diff --git a/packages/ubuntu_localizations/lib/src/l10n/ubuntu_localizations_it.dart b/packages/ubuntu_localizations/lib/src/l10n/ubuntu_localizations_it.dart index d1b6a3eb..56d15967 100644 --- a/packages/ubuntu_localizations/lib/src/l10n/ubuntu_localizations_it.dart +++ b/packages/ubuntu_localizations/lib/src/l10n/ubuntu_localizations_it.dart @@ -43,22 +43,22 @@ class UbuntuLocalizationsIt extends UbuntuLocalizations { String get shiftKey => 'Shift'; @override - String get aboutLabel => 'About'; + String get aboutLabel => 'Informazioni'; @override - String get addLabel => 'Add'; + String get addLabel => 'Aggiungi'; @override - String get allLabel => 'All'; + String get allLabel => 'Tutto'; @override - String get applyLabel => 'Apply'; + String get applyLabel => 'Applica'; @override String get ascendingLabel => 'Ascending'; @override - String get backLabel => 'Back'; + String get backLabel => 'Indietro'; @override String get boldLabel => 'Bold'; diff --git a/packages/ubuntu_localizations/lib/ubuntu_localizations.dart b/packages/ubuntu_localizations/lib/ubuntu_localizations.dart index 2961bda1..d2221af7 100644 --- a/packages/ubuntu_localizations/lib/ubuntu_localizations.dart +++ b/packages/ubuntu_localizations/lib/ubuntu_localizations.dart @@ -1,5 +1,5 @@ /// Provides extra localizations for Ubuntu applications -library ubuntu_localizations; +library; export 'src/data_size.dart'; export 'src/localizations.dart'; diff --git a/packages/ubuntu_logger/lib/ubuntu_logger.dart b/packages/ubuntu_logger/lib/ubuntu_logger.dart index 02d70e2e..eea6e0e3 100644 --- a/packages/ubuntu_logger/lib/ubuntu_logger.dart +++ b/packages/ubuntu_logger/lib/ubuntu_logger.dart @@ -16,6 +16,6 @@ /// log.info('This is an info message.'); /// } /// ``` -library ubuntu_logger; +library; export 'src/ubuntu_logger.dart'; diff --git a/packages/ubuntu_service/lib/ubuntu_service.dart b/packages/ubuntu_service/lib/ubuntu_service.dart index 0875ccca..16d9ca11 100644 --- a/packages/ubuntu_service/lib/ubuntu_service.dart +++ b/packages/ubuntu_service/lib/ubuntu_service.dart @@ -13,6 +13,6 @@ /// ... /// } /// ``` -library ubuntu_service; +library; export 'src/ubuntu_service.dart'; diff --git a/packages/ubuntu_test/lib/ubuntu_test.dart b/packages/ubuntu_test/lib/ubuntu_test.dart index 58a09963..c3fcebf7 100644 --- a/packages/ubuntu_test/lib/ubuntu_test.dart +++ b/packages/ubuntu_test/lib/ubuntu_test.dart @@ -1,5 +1,5 @@ /// Provides test extensions for Ubuntu applications. -library ubuntu_test; +library; export 'src/common_finders.dart'; export 'src/file_tester.dart'; diff --git a/packages/ubuntu_widgets/lib/ubuntu_widgets.dart b/packages/ubuntu_widgets/lib/ubuntu_widgets.dart index 505408aa..eef2912f 100644 --- a/packages/ubuntu_widgets/lib/ubuntu_widgets.dart +++ b/packages/ubuntu_widgets/lib/ubuntu_widgets.dart @@ -1,5 +1,5 @@ /// A collection of widgets developed for Flutter-based Ubuntu applications. -library ubuntu_widgets; +library; export 'src/animated_expanded.dart'; export 'src/clickable_text.dart'; diff --git a/packages/wizard_router/lib/wizard_router.dart b/packages/wizard_router/lib/wizard_router.dart index ab16d90a..16e920b3 100644 --- a/packages/wizard_router/lib/wizard_router.dart +++ b/packages/wizard_router/lib/wizard_router.dart @@ -5,7 +5,7 @@ /// cause changes in existing pages. /// /// ![wizard_router](https://github.com/canonical/ubuntu-flutter-plugins/raw/main/packages/wizard_router/images/wizard_router.png) -library wizard_router; +library; export 'src/exception.dart'; export 'src/route.dart'; diff --git a/packages/xdg_icons/lib/xdg_icons.dart b/packages/xdg_icons/lib/xdg_icons.dart index 8332b9fa..f919c6f6 100644 --- a/packages/xdg_icons/lib/xdg_icons.dart +++ b/packages/xdg_icons/lib/xdg_icons.dart @@ -1,12 +1,2 @@ -/// [XDG theme icons](https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html). -/// -/// ```dart -/// XdgIcon( -/// name: 'computer', -/// size: 48, -/// ) -/// ``` -library xdg_icons; - export 'src/icon.dart'; export 'src/theme.dart';