2022-08-29 20:38:28 -06:00
|
|
|
part of '../editorial_screen.dart';
|
|
|
|
|
|
|
|
class _Callout extends StatelessWidget {
|
|
|
|
final String text;
|
|
|
|
|
2024-02-20 13:56:39 -08:00
|
|
|
const _Callout({super.key, required this.text});
|
2022-08-29 20:38:28 -06:00
|
|
|
@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,
|
|
|
|
),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|