Get Started
Installation
Luthor can be installed into any Dart project using the following command:
dart pub add luthorIf you’re using Flutter, you can also use the following command:
flutter pub add luthorInstalling Code Generation Packages
Luthor can be used with code generation using build_runner optionally. To use code generation, you need to add the following dependencies as well:
dart pub add dev:build_runner dev:luthor_generatorIf you’re using Flutter, you can also use the following command:
flutter pub add dev:build_runner dev:luthor_generatorAnd you’re all set! You can now start using Luthor in your project.