Skip to content

Commit for two tickets: KAT-101 and KAT-102

Halim Bahar requested to merge bahar/katapp:KAT-101 into master

Note in advance: The requirements for the tickets from KAT-101 and KAT-102 were fulfilled within the scope of this MR. The processing was carried out together with @kayaden . Due to the aspects described in detail (see below), we refrained from issuing a separate MR in each case.

In detail:

Due to the hard-coded problem, we decided to bring the individual dart files or app pages into a slimmer format and to design the whole thing somewhat more dynamically (mainly concerning layout). At the same time, we have also created a matching folder structure for a better overview.

KAT-101: Hard-coded sizes (boxes), colours etc. have been moved to the "configs" folder. This makes it possible to make all changes (e.g. numbers, sizes, colours) centrally in the respective dart files of the folder (dynamically). It is no longer necessary to make changes on every page.

KAT-102: Unnecessary hard-coded SizedBoxes that were defined for the distances between the individual buttons on each page have been moved to the "helpers" folder and divided into "small_spacer.dart" & "big_spacer.dart". The dart files in the "custom_widgets" folder make the entire pages of the app visually dynamic, i.e. if the screen is smaller than the desired space, the widgets will adapt. Furthermore, scrolling is also possible if the space is still not sufficient.

The content of the DART files (lock_screen_view.dart & camera_access_view.dart) was not changed or adapted, because another team member is assigned for the ticket. Only the file name has been changed.

Merge request reports