September 2019
Beginner
512 pages
12h 52m
English
The example/ directory contains a simple Flutter application that depends on the created plugin. Check out the pubspec.yaml file:
// example/pubspec.yamlname: hands_on_platform_version_exampledescription: Demonstrates how to use the hands_on_platform_version plugin.publish_to: 'none'environment: sdk: ">=2.1.0 <3.0.0"dependencies: flutter: sdk: flutter cupertino_icons: ^0.1.2dev_dependencies: flutter_test: sdk: flutter hands_on_platform_version: path: ../flutter: uses-material-design: true
It is a common Flutter application pubspec.yaml file, except for the last item on the dev_dependencies list. There is a dependency on the hands_on_platform_version plugin with the path specification variant.
Read now
Unlock full access