![]() ![]() I will create a separate document describing the bloc pattern and how to incorporate it. How in general can you decide what belongs to the domain layer? (there are a lot of high level clean code resources out there but none of them specify how to know what to put in the domain layer. bloc: This folder contains the three files dashboardbloc.dart, dashboardevents.dart, dashboardstates.dart. So would I then create something like abstract_scanner in the ui layer core and implement it in the device layer? Mod Structure Block for MCPE APK 3 MB ( ) - Structure Block Mod APK - Mod Structure Block for MCPE. Since i think the domain layer should just contain a use case that handles payment with the needed inputs and should not care about how the inputs are get, because this is dependent on the ui design, i think the scan specific code should be put on top of the ui layer. But it could be on top of the ui layer or on top of the data layer. ![]() I know it should be in the outter most layer, to be easily replaced. I wonder how you would deal with device specific code like this. I am building a payment app where the user should be able to either scan a QR Code to get the payment information or enter them manually. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |