l10n_lint 0.4.0 copy "l10n_lint: ^0.4.0" to clipboard
l10n_lint: ^0.4.0 copied to clipboard

flutter l10n lint check if localization is initialized correctly and find string literal

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    // no expect_lint: avoid_string_literals_inside_widget
    return const Text('hard code string literals will not support l10n!');
  }
}
copied to clipboard
4
likes
0
points
1.22k
downloads

Publisher

verified publishermatheer.com

Weekly Downloads

2024.10.08 - 2025.04.22

flutter l10n lint check if localization is initialized correctly and find string literal

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, args, custom_lint_builder, custom_lint_core, file, glob, meta, path, pubspec_parse, yaml

More

Packages that depend on l10n_lint