build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Describes the part of the UI represented by this widget.

Implementation

@override
Widget build(BuildContext context) {
  final resolvedStyle =
      style ?? Style().foreground(ThemeScope.of(context).border);
  return Text(char * width, style: resolvedStyle);
}