• Hixie's avatar
    Use the presence of handler to determine 'enabled' · d11acc41
    Hixie authored
    Instread of an explicit 'enabled' bool, this uses the presence of the
    event handler to determine if a widget is enabled or not. This means
    that if you've not passed a handler, your widget will be disabled, which
    makes sense, since it wouldn't work anyway.
    
    Adds this feature to checkbox, and ports raised button, flat button, and
    radio buttons to this new model.
    
    Adds a checkbox to card_collection that can be disabled.
    
    Hide a (basically bogus) hint from the (soon to be disabled) strong hint
    mode in the analyzer that this reveals.
    d11acc41
radio.dart 1.94 KB