hasDefault

open fun hasDefault(): Boolean

Determines whether @widget is the current default widget within its toplevel.

Return

true if @widget is the current default widget within its toplevel, false otherwise