• E
    Fix crash when hitting "enter" key on keyboard during entry · e1845306
    Eric Seidel 提交于
    Now it wont crash on save, but it still doesn't display
    the error message in a snackbar and this also doesn't
    wire up the enter/go key to actually do anything.
    
    We'll need to implement performEditorAction on our
    InputConnection implementation to catch this key and
    pass it along to dart.
    
    Our Input control needs to get more powerful to handle things
    like this, including filtering of input.
    
    The code was crashing by triggering a bug in the SnackBar
    which didn't assert for actions, but crashed when they
    were not null.
    
    Partial fix for https://github.com/domokit/sky_engine/issues/543
    
    @abarth
    e1845306
snack_bar.dart 2.7 KB