props 2.0.0 copy "props: ^2.0.0" to clipboard
props: ^2.0.0 copied to clipboard

Load properties format in dart or flutter. Just do it. Api is simple.

example/main.dart

import 'package:props/props.dart';

final text = '''
#This is comment
version=1.0.0
name=properties
name=ppp
#comment=1
'''
    .trim();

final errorTest = '''
error load
''';

void main() {
  final props = Properties.loadString(text);

  print(props['version']); // 1.0.0
  print(props['name']); // properties
}
6
likes
160
points
88
downloads

Publisher

verified publisherfluttercandies.com

Weekly Downloads

Load properties format in dart or flutter. Just do it. Api is simple.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on props