DelegateWidget constructor

const DelegateWidget({Key key, StateDelegate delegate })

Initializes key for subclasses.

The argument delegate must not be null.

Implementation

const DelegateWidget({
  Key key,
  this.delegate,
})  : assert(delegate != null),
      super(key: key);