AdaptiveWidget constructor

const AdaptiveWidget({
  1. Key? key,
  2. required String id,
  3. required Widget child,
  4. bool trackTaps = true,
  5. bool trackLongPress = true,
  6. bool trackHover = false,
  7. bool trackFocus = false,
  8. dynamic onInteraction(
    1. InteractionEvent
    )?,
  9. BoxConstraints? constraints,
})

Create an adaptive widget

Implementation

const AdaptiveWidget({
  super.key,
  required this.id,
  required this.child,
  this.trackTaps = true,
  this.trackLongPress = true,
  this.trackHover = false,
  this.trackFocus = false,
  this.onInteraction,
  this.constraints,
});