BasicEventWidget constructor

const BasicEventWidget(
  1. BasicEvent event,
  2. {Key key,
  3. VoidCallback onTap}
)

Implementation

const BasicEventWidget(
  this.event, {
  Key key,
  this.onTap,
})  : assert(event != null),
      super(key: key);