flutter work

This commit is contained in:
John Smith 2022-12-10 12:11:46 -05:00
parent 8c96373cfd
commit a44794ab98
11 changed files with 387 additions and 361 deletions

View file

@ -11,7 +11,6 @@ class VirtualKeyboardView extends StatelessWidget {
return AnimatedBuilder(
animation: keyboard,
builder: (context, child) => ToggleButtons(
children: [Text('Ctrl'), Text('Alt'), Text('Shift')],
isSelected: [keyboard.ctrl, keyboard.alt, keyboard.shift],
onPressed: (index) {
switch (index) {
@ -26,6 +25,7 @@ class VirtualKeyboardView extends StatelessWidget {
break;
}
},
children: const [Text('Ctrl'), Text('Alt'), Text('Shift')],
),
);
}