Flutter UIKit Installation Guide
Amity Flutter UIKit Migration Guide
To clarify and streamline the instructions for integrating the Social Plus UIKit into a Flutter project, I'll reorganize and correct your provided steps:
Step 1: Clone the Social Plus UIKit Repository
First, clone the Social Plus UIKit repository from GitHub:
git clone https://github.com/AmityCo/flutter_amity_uikit_beta_service
Navigate to the cloned directory:
cd flutter_amity_uikit_beta_service
Step 2: Add Local Package Dependency in pubspec.yaml
In your Flutter project (not the Social Plus UIKit project), update the pubspec.yaml
file to include the Social Plus UIKit as a local package dependency:
dependencies:
flutter:
sdk: flutter
amity_uikit_beta_service:
path: ../flutter_amity_uikit_beta_service
Replace ../flutter_amity_uikit_beta_service
with the actual relative or absolute path to your cloned flutter_amity_uikit_beta_service
directory.
Step 3: Import Package in Your Dart Files
In your Flutter project, import the Social Plus UIKit package in the Dart files where you want to use it:
import 'package:amity_uikit_beta_service/amity_sle_uikit.dart';
// Import other specific files from the package as needed
Last updated
Was this helpful?