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 ...@@ -55,11 +55,11 @@ class HardwareKeyDemoState extends State<HardwareKeyDemo> implements mojo.RawKey
} }
return new Column([ return new Column([
new Text( new Text(
'${_event?.type}', '${_event.type}',
style: Typography.black.body2 style: Typography.black.body2
), ),
new Text( new Text(
'${_event?.keyData?.keyCode}', '${_event.keyData.keyCode}',
style: Typography.black.display4 style: Typography.black.display4
) )
], justifyContent: FlexJustifyContent.center); ], 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