framy_annotation library

Classes

FramyAnnotation
Super class for all other Framy annotations
FramyApp
Specifies a location where generated Framy app will be placed Required to be used exactly once inside the app Typically annotates main app widget (e.g. MyApp, MainApp, etc) useDevicePreview - setting this to true will cause wrapping widgets in DevicePreview in generated Framy app we highly recommend using this feature, IMPORTANT: when it's set to true then it is required to add device_preview package as dependency in pubspec.yaml!
FramyModel
Used to annotate a model class that can be passed as an argument to the widget's constructor
FramyPreset
Used to annotate methods returning objects that are meant to be preset dependencies for widgets [...]
FramyRegisterRiverpod
Used to annotate providers that are meant to be overridden for widgets [...]
FramyTheme
Used to annotate a class which contains methods/fields/constructors for ThemeData and Colors [...]
FramyUseProvider
Used to widgets that require Provider with a specified type to work [...]
FramyUseRiverpod
Used to widgets that want to override riverpod dependency and change it in generated app. A providerName is the name of Provider object that needs to overridden [...]
FramyWidget
Used to annotate a Widget to be included as a component isPage - indicates if the widget will be considered as a page (will be displayed in Storyboard page) groupName - Used for creating a directory in the navigation drawer in which widget will be placed. It can help organize widgets by domain or size. [...]

Constants

framyApp → const FramyApp
const FramyApp()
framyModel → const FramyModel
const FramyModel()
framyPreset → const FramyPreset
const FramyPreset()
framyRegisterRiverpod → const FramyRegisterRiverpod
framyTheme → const FramyTheme
const FramyTheme()
framyWidget → const FramyWidget
const FramyWidget()