https://github.com/fluttercandies/properties
Load properties format in dart or flutter
https://github.com/fluttercandies/properties
Last synced: 12 months ago
JSON representation
Load properties format in dart or flutter
- Host: GitHub
- URL: https://github.com/fluttercandies/properties
- Owner: fluttercandies
- License: mit
- Created: 2020-04-21T00:58:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T10:16:05.000Z (almost 2 years ago)
- Last Synced: 2025-04-21T22:36:25.332Z (about 1 year ago)
- Language: Dart
- Size: 14.6 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Properties
Load properties for dart.
[](https://pub.dev/packages/props)

## Usage
```yaml
dependencies:
props: ^2.0.0-nullsafety
```
```dart
import 'package:props/props.dart';
final text = '''
#This is comment
version=1.0.0
name=properties
name=ppp
#comment=1
'''
final props = Properties.loadString(text);
print(props['version']); // 1.0.0
print(props['name']); // properties
```
## LICENSE
MIT Style