build method

  1. @override
Widget build(
  1. BuildContext context
)
inherited

Build the widget underneath this widget in the tree

Implementation

@override
Widget build(BuildContext context) {
  if (tapDown != null) {
    tapDown!.inject(_tapDownCell(context));
  }

  if (tapUp != null) {
    tapUp!.inject(_tapUpCell(context));
  }

  if (secondaryTapDown != null) {
    secondaryTapDown!.inject(_secondaryTapDownCell(context));
  }

  if (secondaryTapUp != null) {
    secondaryTapUp!.inject(_secondaryTapUpCell(context));
  }

  if (highlighted != null) {
    highlighted!.inject(_highlightedCell(context));
  }

  if (hovered != null) {
    hovered!.inject(_hoveredCell(context));
  }

  if (focussed != null) {
    focussed!.inject(_focussedCell(context));
  }

  return _buildWrappedWidget(context);
}