This property is only relevant for widgets that can take focus.
Widget.focusOnClick
bool focusOnClick() @propertyGet focusOnClick property.
Returns
Whether the widget should grab focus when it is clicked with the mouse.
void focusOnClick(bool propval) @propertySet focusOnClick property.
Parameters
propval | Whether the widget should grab focus when it is clicked with the mouse. This property is only relevant for widgets that can take focus. |