mirror of
https://github.com/gskinnerTeam/flutter-wonderous-app.git
synced 2025-05-17 12:56:01 +08:00
28 lines
643 B
Dart
28 lines
643 B
Dart
part of '../editorial_screen.dart';
|
|
|
|
class _Callout extends StatelessWidget {
|
|
final String text;
|
|
|
|
const _Callout({super.key, required this.text});
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Focus(
|
|
child: 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,
|
|
),
|
|
)
|
|
],
|
|
),
|
|
)
|
|
);
|
|
}
|
|
}
|