buildWrappedIndicator method

Widget buildWrappedIndicator(
  1. Widget? child, {
  2. double? width,
  3. double? height,
  4. required Offset indicatorOffset,
})

Implementation

Widget buildWrappedIndicator(Widget? child,
    {double? width, double? height, required Offset indicatorOffset}) {
  final offset = altOffset + indicatorOffset;
  return Container(
    width: width,
    height: height,
    transform: Matrix4.translationValues(offset.dx, offset.dy, 0.0),
    child: child,
  );
}