RemoveButton typedef
RemoveButton =
ReactiveCustomWidget<Widget> Function(GlobalKey<State<StatefulWidget> > key, Stream rebuildStream)
A typedef for creating a remove-area
key
- A GlobalKey to uniquely identify the button.rebuildStream
- A Stream that triggers the widget to rebuild.
Returns a ReactiveCustomWidget that handles the removal of a button.
Implementation
typedef RemoveButton = ReactiveCustomWidget Function(
GlobalKey key,
Stream rebuildStream,
);