MsgDisplay<T> constructor

const MsgDisplay<T>({
  1. required ValueNotifier<ProcessResult<T>> valueListenable,
  2. TextAlign? textAlign,
  3. Key? key,
})

Creates a message display widget.

Parameters:

  • valueListenable: ValueNotifier containing the ProcessResult to display
  • textAlign: Optional text alignment, defaults to center

Implementation

const MsgDisplay({required this.valueListenable, this.textAlign, super.key});