• Eric Seidel's avatar
    Fix crash when hitting "enter" key on keyboard during entry · 441fe4d4
    Eric Seidel authored
    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
    441fe4d4
pubspec.yaml 211 Bytes