AssistiveTouch constructor

const AssistiveTouch({
  1. Key? key,
  2. Widget child = const _DefaultChild(),
  3. bool visible = true,
  4. bool draggable = true,
  5. bool shouldStickToSide = true,
  6. EdgeInsets margin = const EdgeInsets.all(8.0),
  7. Offset initialOffset = Offset.infinite,
  8. VoidCallback? onTap,
  9. Widget animatedBuilder(
    1. BuildContext context,
    2. Widget child,
    3. bool visible
    )?,
})

Implementation

const AssistiveTouch({
  Key? key,
  this.child = const _DefaultChild(),
  this.visible = true,
  this.draggable = true,
  this.shouldStickToSide = true,
  this.margin = const EdgeInsets.all(8.0),
  this.initialOffset = Offset.infinite,
  this.onTap,
  this.animatedBuilder,
}) : super(key: key);