lab-64 / split-the-bill-client

Flutter App for easy and fast splitting up of receipts
4 stars 0 forks source link

Refactor: use widgets instead of helper methods #58

Open GR0ZA opened 5 months ago

GR0ZA commented 5 months ago

Right now some component trees are split into helper methods (i. e. register.dart):

image

This is an anti-pattern (see https://iiro.dev/splitting-widgets-to-methods-performance-antipattern/)

We should always use new widget classes instead.