Files
CodeDoctorDE 9103094213 Fix move
2022-08-12 15:33:35 +02:00
..
2021-04-27 18:31:20 +02:00
2022-07-07 18:22:07 +02:00
2022-08-12 15:33:35 +02:00
2022-08-12 08:42:01 +00:00
2022-08-07 08:28:57 +02:00
2022-06-15 21:12:20 +02:00
2022-07-21 10:40:42 +02:00
2022-07-21 10:37:43 +02:00
2022-08-07 16:48:16 +02:00
2021-04-27 18:31:20 +02:00
2022-05-28 11:09:20 +02:00
2022-08-07 08:28:57 +02:00
2022-07-29 11:03:41 +02:00
2022-06-16 08:30:59 +02:00
2022-08-11 23:10:26 +02:00
2022-06-29 17:57:54 +02:00
2022-08-05 11:34:28 +02:00
2021-10-06 22:45:19 +02:00
2022-08-12 15:33:35 +02:00
2022-08-12 08:42:04 +00:00
2022-07-09 13:38:42 +02:00

Butterfly App

Read more here

Technology

This app was build using flutter. Read more about here. For generating the *.g.dart and *.freezed.dart files use the flutter pub run build_runner build command.

Structure

The code for this app is stored in the lib directory.

lib
- actions
- api
- bloc
- cubits
- dialogs
- embed
- handlers
- l10n
- models
- services
- settings
- views
- visualizer
- widgets
  • The actions directory has all shortcuts that can be used in the app.
  • The api directory stores useful functions for the app. Some functions are separated between html (web) and io (native platforms).
  • The bloc directory stores the save system of the app. In the document_bloc.dart file, you can see all handlers to the events that are defined in the document_event.dart file. The document_state.dart file stores all states that the app can have.
  • The cubits directory stores small save systems that are not necessarily associated with the document.
  • The dialogs directory stores all dialogs that can be opened in the app. For example the file system dialog or the open dialog.
  • The embed directory handles all events required for the embedding mode.
  • The handlers directory stores all gesture handlers for the painters.
  • The l10n directory stores all the strings and translations that are used in the app.
  • The models directory stores all the models that are used in the app. For example the Document model or the painters.
  • The services directory defines all services that runs in the background while using the app.
  • The settings directory stores all the settings pages that are used in the app.
  • The views directory stores all the views that are used in the main page. For example the appbar, the toolbar or the main view.
  • The visualizer directory stores all converters between the models and the ui.
  • The widgets directory stores all general widget that is not specific to the app. For example the OptionButton widget.