A very simple dialog to enter text:

final result = await InputDialog.show(
  context: context,
  title: 'Enter Text',
);

Demo

It is not customizable except for the title and the text on the buttons. It is good for prototyping and some internal software where functionality and speed are more important than custom design.

Libraries

input_dialog