OperationPay({ required this.initialText, required this.onPressed, this.onCancel, }) : _text = initialText { _controller.add(_createState()); }