Dart| Flutter How to: Read pubspec.yaml attributes (version) with examples
April 30, 2022 · 1 min read
This tutorials explains about how to read pubspec.yaml file in example. pubspec.yaml file contains following things name: dartapp description: >- dart example application. version: 1.0.0 environment: sdk: '>=2.10.0 <3.0.0' dependencies: ini: ^2.1.0 jiffy: ^5.0.0 quiver: 3.0.1+1 yaml: ^3.1.0 yaml_writer: 1.0.1 image: any mime: any path: any package_info: any dev_dependencies: intl: any How to read pubspec.yaml file in Dart This tutorials is about to read puspect.yaml file and print the content....