TextPrompt constructor

TextPrompt({
  1. required String text,
  2. double weight = 0.5,
})

Implementation

TextPrompt({required this.text, this.weight = 0.5});