toWidget method

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

Implementation

@override
Opacity toWidget(AnyWidgetContext context) {
  return Opacity(
    key: key?.toFlutter(context),
    opacity: opacity,
    alwaysIncludeSemantics: alwaysIncludeSemantics ?? false,
    child: child?.toWidget(context),
  );
}