toWidget method

  1. @override
FractionalTranslation toWidget(
  1. AnyWidgetContext context
)
override

Implementation

@override
FractionalTranslation toWidget(AnyWidgetContext context) {
  return FractionalTranslation(
    key: key?.toFlutter(context),
    child: child?.toWidget(context),
    translation: translation.toFlutter(context),
    transformHitTests: transformHitTests ?? true,
  );
}