UIAction<T> constructor
UIAction<T> ({
- required T child,
- required Function onPressed,
Implementation
UIAction({
required this.child,
required this.onPressed,
});