Skip to content
pubscout

gradle_properties

1.0.2, released 3 years ago by birju.dev

Work with Gradle properties files easily in Dart.

$ flutter pub add gradle_properties
Source repository

What it does

Allows loading, reading, modifying, and saving Gradle properties files through a map-like interface and file extensions.

AI-written summary of version 1.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to read or update gradle.properties files programmatically in a Dart/Flutter project.
  • You want to manipulate key-value pairs in standard Java properties format files.

Skip it when

  • You are dealing with complex non-property file formats.

Strengths

  • Provides a simple map-like interface for properties.
  • Supports saving changes back to the same or a different file.
  • Includes helpful file extension methods.

Weaknesses

  • Very niche use case limited to Gradle/Java properties files.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
final properties = await GradleProperties.fromFile(File('gradle.properties'));
properties['first_name'] = 'Birju';
properties.save();

Alternatives

Packages that do the same job and could replace gradle_properties.