2022-08-29 20:38:28 -06:00

26 lines
605 B
Dart

part of '../editorial_screen.dart';
class _Callout extends StatelessWidget {
final String text;
const _Callout({Key? key, required this.text}) : super(key: key);
@override
Widget build(BuildContext context) {
return IntrinsicHeight(
child: Row(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Container(color: $styles.colors.accent1, width: 1),
Gap($styles.insets.sm),
Expanded(
child: Text(
text,
style: $styles.text.callout,
),
)
],
),
);
}
}