Skip to content

Menu Installation

Eleazar Garrido edited this page Jun 12, 2019 · 1 revision

Install

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  xpx_catapult_sdk: ^0.0.1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:xpx_catapult_sdk/xpx_sdk.dart';