Commit cbc743f1 authored by Collin Jackson's avatar Collin Jackson

Remove unneeded null check in raw keyboard example

parent e97c0d1c
......@@ -55,11 +55,11 @@ class HardwareKeyDemoState extends State<HardwareKeyDemo> implements mojo.RawKey
}
return new Column([
new Text(
'${_event?.type}',
'${_event.type}',
style: Typography.black.body2
),
new Text(
'${_event?.keyData?.keyCode}',
'${_event.keyData.keyCode}',
style: Typography.black.display4
)
], justifyContent: FlexJustifyContent.center);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment