withOpacity function

Widget withOpacity(
  1. Widget child,
  2. {double value = 1}
)

Implementation

Widget withOpacity(Widget child, {double value = 1}) {
  return Opacity(opacity: value, child: child);
}