INNER CODE UNIT · Dart
QuestionInput
thevvh/flutter_chatgpt · lib/components/QuestionInput.dart:8
class QuestionInput extends StatefulWidget {
final Map chat;
final bool autofocus;
final bool enabled;
final Function? scrollToBottom;
final Function? onGeneratingStatusChange;
const QuestionInput({
Key? key,
required this.chat,
required this.autofocus,
required this.enabled,
this.scrollToBottom,
this.onGeneratingStatusChange,
}) : super(key: key);
@override
_QuestionInputState createState() => _QuestionInputState();