forked from Nexus/nexus
Now this feature is stable, we should use it. I might have missed some usecases, but these can be added in future commits.
16 lines
411 B
Dart
16 lines
411 B
Dart
import "package:flutter/material.dart";
|
|
|
|
class Quoted extends StatelessWidget {
|
|
final Widget child;
|
|
const Quoted(this.child, {super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) => Container(
|
|
decoration: BoxDecoration(
|
|
border: Border(
|
|
left: .new(width: 4, color: Theme.of(context).dividerColor),
|
|
),
|
|
),
|
|
child: Padding(padding: .only(left: 8), child: child),
|
|
);
|
|
}
|