InheritedStateWidget constructor

InheritedStateWidget(
  1. InheritedWidget? _func(), {
  2. Key? key,
})

Supply a Callback function returning an InheritedWidget

Implementation

InheritedStateWidget(this._func, {Key? key}) : super(key: key);