positionedDirectional method

Widget positionedDirectional({
  1. Key? key,
  2. double? start,
  3. double? end,
  4. double? top,
  5. double? bottom,
  6. double? width,
  7. double? height,
  8. bool animate = false,
})

Implementation

Widget positionedDirectional({
  Key? key,
  double? start,
  double? end,
  double? top,
  double? bottom,
  double? width,
  double? height,
  bool animate = false,
}) =>
    animate
        ? _StyledAnimatedBuilder(
            key: key,
            builder: (animation) {
              return AnimatedPositionedDirectional(
                child: this,
                duration: animation.duration,
                curve: animation.curve,
                start: start,
                end: end,
                top: top,
                bottom: bottom,
                width: width,
                height: height,
              );
            },
          )
        : PositionedDirectional(
            key: key,
            child: this,
            start: start,
            end: end,
            top: top,
            bottom: bottom,
            width: width,
            height: height,
          );