Imports
Table of Contents
The import keywords allows one to import an external package to a pint°
program. There are, currently, two types of imports in pinto°, regular imports
and Dart imports1.
Currently, there’s no support for relative imports, neither modifiers (as,
show, hide, if).
Regular imports #
Regular imports depends on the packages available in your package_config.json.
You can either import the main package2 file or specific files exported from the
package by specifying (or not) what you want to import.
| |
Dart imports #
By prefixing a @ before the identifier, you can import Dart’s SDK packages.
| |