comicSearchNote function

Widget comicSearchNote(
  1. BuildContext context,
  2. String words, [
  3. ComicStyle? style
])

A line in a field's list that is no option, in the secondary ink where the options' words start: nothing matches, a search is looking, or it failed.

Implementation

Widget comicSearchNote(
  BuildContext context,
  String words, [
  ComicStyle? style,
]) {
  final t = ComicTheme.of(context);
  return SizedBox(
    width: double.infinity,
    child: Padding(
      padding: EdgeInsets.symmetric(
        horizontal: comicFieldListWords(t, style),
        vertical: 10,
      ),
      child: Text(
        words,
        style: t.type.body.copyWith(color: t.colors.textSecondary),
      ),
    ),
  );
}