Logosolidart

Getting started

The library is made up of three packages:

  1. solidart
  2. flutter_solidart
  3. solidart_lint

solidart#

This package is meant to be used only in Dart applications.

Install#

Run this command in the root of your project:

dart pub add solidart

Import it#

import 'package:solidart/solidart.dart';

flutter_solidart#

This package extends the functionatilies of solidart and is meant to be used only in Flutter applications.

Install#

Run this command in the root of your project:

flutter pub add flutter_solidart

Import it#

import 'package:flutter_solidart/flutter_solidart.dart';

solidart_lint#

This package is a developer tool for users of flutter_solidart, designed to help stop common issues and simplify repetitive tasks.

I highly recommend using this package to avoid errors and understand how to properly use flutter_solidart

Install#

Run this command in the root of your Flutter project:

flutter pub add -d solidart_lint custom_lint

Then edit your analysis_options.yaml file and add these lines of code:

analyzer:
  plugins:
    - custom_lint

Then run:

rm pubspec.lock
flutter clean
flutter pub get
dart run custom_lint