MaterialStatefulWidget constructor

const MaterialStatefulWidget({
  1. Key? key,
  2. FocusNode? focusNode,
  3. MouseCursor mouseCursor = MaterialStateMouseCursor.clickable,
  4. MaterialStates? states,
  5. GestureTapDownCallback? onTapDown,
  6. GestureTapCallback? onTap,
  7. GestureTapCancelCallback? onTapCancel,
  8. GestureTapCallback? onDoubleTap,
  9. GestureLongPressCallback? onLongPress,
  10. HitTestBehavior behavior = HitTestBehavior.opaque,
  11. required ValueWidgetBuilder<MaterialStates> builder,
  12. Widget? child,
})

Implementation

const MaterialStatefulWidget({
  super.key,
  this.focusNode,
  this.mouseCursor = MaterialStateMouseCursor.clickable,
  this.states,
  this.onTapDown,
  this.onTap,
  this.onTapCancel,
  this.onDoubleTap,
  this.onLongPress,
  this.behavior = HitTestBehavior.opaque,
  required this.builder,
  this.child,
});