Skip to content
pubscout

monarch_annotations

1.1.0, released 2 years ago by monarchapp.io

Annotations for Monarch to define themes and locales for isolated widget development.

WASM-ready
$ flutter pub add monarch_annotations
Source repository

What it does

Provides annotations used by Monarch to help developers annotate their application themes and locales. It allows configuring how themes and internationalization are handled within the Monarch isolated widget environment.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are using Monarch to build and test Flutter widgets in isolation.
  • You need to annotate custom themes and locales for Monarch.

Skip it when

  • You are not using the Monarch tool for widget development.
  • You need a general-purpose state management or UI library.

Strengths

  • Lightweight package containing only annotations.
  • Enables seamless theme and localization integration with Monarch.

Weaknesses

  • Provides no functionality outside of Monarch usage.
  • Requires the Monarch toolset to be of any use.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0

Add the dependency to your pubspec.yaml and use the annotations in your code as documented by Monarch.

not documented

Alternatives

Packages that do the same job and could replace monarch_annotations.

  • widgetbook

    If you use Widgetbook instead of Monarch for building and testing Flutter widgets in isolation.

Works with

Packages commonly used together with monarch_annotations: ones it builds on, ones built on it, and its own family.