A Flutter application where you can add WOL devices and wake them up over the LAN. This was done as part of an exercise for school.
- how to use basic JSON operations in Dart
- make a dialog in Flutter (AlertDialog)
- build a form and add validation + input formatting (making everything uppercase or only valid characters from a RegEx) (AddForm)
- manage basic state (StatefulWidget)
- save data on the device with the shared_preferences module
- use external modules in general (ex: wake_on_lan)
- add an icon to a Flutter app with flutter_launcher_icons
The entrypoint for the application. It manages the list state of the WOLItems and displays the AlertDialog used for adding devices.
This contains helper functions for saving and getting data from SharedPreferences.
This contains helper widgets (in this case only the AddForm widget). The AddForm widget is the content of the AlertDialog that gets displayed when trying to add a device.
Contains the WOLItem class that is used for saving the data of a device.