UIAction<T> constructor

UIAction<T>({
  1. required T child,
  2. required Function onPressed,
})

Implementation

UIAction({
  required this.child,
  required this.onPressed,
});