OffSetWidget constructor

const OffSetWidget({
  1. Key? key,
  2. Offset offset = Offset.zero,
  3. required Widget child,
  4. Direction direction = Direction.topLeft,
})

Implementation

const OffSetWidget(
    {Key? key, this.offset = Offset.zero,
    required this.child,
    this.direction = Direction.topLeft}) : super(key: key);