API Reference 0.3.24dart_web_toolkit_uiIsWidget

IsWidget abstract class

Extended by view interfaces that are likely to be implemented by Widgets. Provides access to that widget, if it exists, without compromising the ability to provide a mock view instance in JRE unit tests.

abstract class IsWidget {

 /**
  * Returns the [Widget] aspect of the receiver.
  */
 Widget asWidget();
}

Subclasses

Caption, HasScrolling, Widget

Methods

abstract Widget asWidget() #

Returns the Widget aspect of the receiver.