majestic_ui 1.0.2+1
majestic_ui: ^1.0.2+1 copied to clipboard
A Shadcn equivalent for Flutter where you can quickly install widgets onto your projects without having to add them as a dependency. This allows flexible customizations and faster code availability.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate majestic_ui
Use it
The package has the following executables:
$ majestic_ui
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add majestic_ui
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
majestic_ui: ^1.0.2+1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:majestic_ui/magestic_cli.dart';
import 'package:majestic_ui/models/widget.dart';
import 'package:majestic_ui/models/widget_file.dart';