MaterialStatefulWidget constructor
const
MaterialStatefulWidget({
- Key? key,
- FocusNode? focusNode,
- MouseCursor mouseCursor = MaterialStateMouseCursor.clickable,
- MaterialStates? states,
- GestureTapDownCallback? onTapDown,
- GestureTapCallback? onTap,
- GestureTapCancelCallback? onTapCancel,
- GestureTapCallback? onDoubleTap,
- GestureLongPressCallback? onLongPress,
- HitTestBehavior behavior = HitTestBehavior.opaque,
- required ValueWidgetBuilder<
MaterialStates> builder, - 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,
});