Dialog to add or edit loco or turnout.
More...
AddEditDialog is used to add or edit locomotives or accessories. The class is generic so the type to be edited must be passed when creating the dialog (e.g. AddEditDialog<Loco>). If no type is passed, a query will be made at runtime. Internally, the class uses a FormBuilder that sends a POST request via DccService upon completion and successful validation.
◆ tooltip()
| String AddEditDialog::tooltip |
( |
| ) |
|
|
inline |
◆ item
| final dynamic AddEditDialog::item |
◆ loco
| Loco get AddEditDialog::loco => item as Loco? |
◆ turnout
| Turnout get AddEditDialog::turnout => item as Turnout? |
The documentation for this class was generated from the following file:
- /home/runner/work/Frontend/Frontend/lib/widget/dialog/add_edit.dart