Flukki is your personal Flutter developer, that will try to solve your tasks.
Let’s start by tuning up Flukki by writing down your project architecture. ‘flukki_architecture’ file should be placed in your project’s root directory. Sample:
Our simple application architecture:
1. presentation layer -> layer with user UI. Responsible for communication with the user
2. controller layer -> the layer that is responsible for state management and business logic, it is with it that the presentation layer communicates
3. dao layer -> the layer that is responsible for API or database calls, it is with it that the controllers layer communicate
Run Flukki in your project root dir:
flukki <api key> "currently when opening a new time off request page if there are some time off request types, the first one is being selected. The last one should be selected. Selection is made in the initstate method"
Result:
Hello, I will work on this task:
currently when opening a new time off request page if there are some time off request types, the first one is being selected. The last one should be selected. Selection is made in the initstate method
Starting project analyse...
I think these files may be affected by the task:
/lib/time_off_requests/pages/new_time_off_request_page.dart
Looking on the new_time_off_request_page.dart...
Methods that may have to be changed:
initState -> The selection of the time off request type is most likely handled in the initState method. This is where the change should be made to select the last type, instead of the first.
Updating new_time_off_request_page.dart...
Updated new_time_off_request_page.dart
Formatting new_time_off_request_page.dart...
I'm done with new_time_off_request_page.dart
Going home, bye
And the modified code:
https://github.com/maciejbrzezinski/flukki_cli/releases/tag/v1.0.0
After download, make the file executable:
chmod +x flukki
And then while holding ctrl, click on the file → open → open
Before running you should modify your system path like so, to have access to the Flukki everywhere. Also you must add a path to the dart SDK to the system env variables:
export PATH="$PATH":"/directory/where/flukk/is/located"
export DART_SDK="/Users/maciek/dev/flutter/bin/cache/dart-sdk" <- change it to your path
Then you should be able to use Flukki:
cd your/project/directory
flukki <api key> "Sending of the message sometime fails. Too big messages are the root cause. There should be no limit at all."