Getting Started

Installation

Learn how to add Shard to your Flutter project.

Adding Shard to Your Project

Step 1: Add Dependency

Add Shard to your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  shard: ^0.0.2

Step 2: Install Dependencies

Run the following command to install the package:

flutter pub get

Step 3: Import Shard

Import Shard in your Dart files:

import 'package:shard/shard.dart';

Next Steps

Now that Shard is installed, jump to Quick Start for a hands-on tutorial, or explore Core Concepts to understand the fundamentals.