- Updated import paths across multiple files to reflect the new package name. - Changed application name and identifiers in CMakeLists.txt, Runner.rc, and other configuration files. - Modified web index.html and manifest.json to update the app title and name. - Adjusted macOS and Windows project settings to align with the new application name. - Ensured consistency in naming across all relevant files and directories.
16 lines
326 B
Dart
16 lines
326 B
Dart
import 'package:on_field_work/controller/my_controller.dart';
|
|
|
|
class ButtonsController extends MyController {
|
|
List<bool> selected = List.filled(3, false);
|
|
|
|
ButtonsController() {
|
|
selected[0] = true;
|
|
}
|
|
|
|
void onSelect(int index) {
|
|
selected = List.filled(3, false);
|
|
selected[index] = true;
|
|
update();
|
|
}
|
|
}
|