Referd Developers Guide
  • Referd Developers Docs
  • Introduction
  • Installing Referd
    • iOS
      • Getting Started
      • Initialize Referd User Profile
      • Track User Events
      • Push Notifications
      • Go-Live Checklist
    • Android
      • Getting Started
      • Initialize Referd User Profile
      • Track Referd Events
      • Push Notifications
      • Go-Live Checklist
    • React Native
      • Getting Started
      • Initialize Referd User Profile
      • Track User Events
      • Push Notifications
      • Go-Live Checklist
    • Flutter
      • Getting Started
      • Initialize Referd User Profile
      • Track User Events
      • Go-Live Checklist
    • Generic Mobile App
      • Initialize Referd User Profile
      • Track User Events
      • Push Notifications
      • Go-Live Checklist
  • REST API
    • Overview
    • Authentication
    • API Reference
      • User
      • Event
      • Notifications
    • API Endpoint Testing
    • Errors
Powered by GitBook
On this page
  • Installation
  • Use this package as a library
  1. Installing Referd
  2. Flutter

Getting Started

Install the Referd Flutter SDK into your app

The Referd SDK for Flutter enables you to use the show Referd user profile in your app, track app user events, integrate referrals.

Installation

Follow the below steps to start installing the Flutter SDK to your app

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add gameball

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  gameball: ^0.0.3

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

Import it

Now in your Dart code, you can use:

import 'package:gameball/gameball.dart';

Last updated 1 year ago