localization_builder 0.9.3 copy "localization_builder: ^0.9.3" to clipboard
localization_builder: ^0.9.3 copied to clipboard

outdated

A data class builder for localization.

example/example.dart

import 'dart:io';

import 'package:localization_builder/localization_builder.dart';
import 'package:yaml/yaml.dart';

Future<void> main() async {
  final parser = YamlLocalizationParser();
  final yaml = await File('example.yaml').readAsString();
  final node = loadYaml(yaml);
  final result = parser.parse(node);
  final dart =
      DartLocalizationBuilder().build(result.result.copyWith(name: 'Example'));
  print(dart);
}
0
likes
0
pub points
52%
popularity

Publisher

unverified uploader

A data class builder for localization.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

code_builder, collection, dart_style, equatable, meta, recase, yaml

More

Packages that depend on localization_builder