PromptDialog constructor

const PromptDialog({
  1. Key? key,
  2. String? title,
  3. String? label,
  4. String? initialValue,
  5. String? hintText,
  6. FutureOr<void> callback(
    1. String
    )?,
})

제목, 입력 표시와 확인 시 실행할 콜백을 설정한다.

Implementation

const PromptDialog({super.key, this.title, this.label, this.initialValue, this.hintText, this.callback});