-
Notifications
You must be signed in to change notification settings - Fork 2
State management (MVVM)
For state management Bibleside uses Stacked: an MVVM framework for building maintainable applications. See the Stacked documentation to learn how it works.
A list of the Stacked CLI commands you may use when you contribute code.
-
Use
stacked generateto re-sync the generated files. If you find that the IDE linter is telling you that some files in thetestsfolder have errors, running this command will update them and resolve the IDE errors. -
Global widget: Use
stacked create widget <widget_name>to create a new global widget in thelib/ui/widgets/common/folder. -
Local widget: Use
stacked create widget <widget_name> --path 'ui/widgets/<the_view_folder>/widgets'to create a new widget for a specific view of the app. If you are needing to create a widget inside of a sub-widget, add the subfolder to thepathin the command above accordingly. -
Service: Use
stacked create service <service_name>to create a new service in thelib/services/folder.