blockQuote method

Widget blockQuote()

Implementation

Widget blockQuote() {
  return Builder(builder: (context) {
    Widget child;
    if (this is WrappedText) {
      child = (this as WrappedText).copyWithStyle(
        (context, theme) => theme.typography.blockQuote,
      );
    } else {
      child = WrappedText(
          style: (context, theme) => theme.typography.blockQuote,
          child: this);
    }
    return Container(
      decoration: BoxDecoration(
        border: Border(
          left: BorderSide(
            color: Theme.of(context).colorScheme.border,
            width: 2,
          ),
        ),
      ),
      padding: const EdgeInsets.only(left: 16),
      // child: base().normal().italic(),
      child: child,
    );
  });
}