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

outdated

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
0
pub points
43%
popularity

Publisher

verified publisherfluttercandies.com

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

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on props