renderPrompt method

Widget renderPrompt()

Implementation

Widget renderPrompt() {
  final effectivePrompt = widget.prompt ?? _injectedPrompt;
  if (effectivePrompt == null) return const SizedBox.shrink();
  return Align(
    alignment: Alignment.centerLeft,
    child: Text(effectivePrompt, style: getAppTheme()?.textTheme.bodyMedium),
  );
}