|
|
@ -1910,39 +1910,42 @@ class ComponentDecoration extends StatelessWidget {
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Padding(
|
|
|
|
return RepaintBoundary(
|
|
|
|
padding: const EdgeInsets.symmetric(vertical: 10.0),
|
|
|
|
child: Padding(
|
|
|
|
child: Column(
|
|
|
|
padding: const EdgeInsets.symmetric(vertical: 10.0),
|
|
|
|
children: [
|
|
|
|
child: Column(
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
Text(label, style: Theme.of(context).textTheme.titleSmall),
|
|
|
|
children: [
|
|
|
|
Tooltip(
|
|
|
|
Text(label, style: Theme.of(context).textTheme.titleSmall),
|
|
|
|
message: tooltipMessage,
|
|
|
|
Tooltip(
|
|
|
|
child: const Padding(
|
|
|
|
message: tooltipMessage,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 5.0),
|
|
|
|
child: const Padding(
|
|
|
|
child: Icon(Icons.info_outline, size: 16)),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 5.0),
|
|
|
|
),
|
|
|
|
child: Icon(Icons.info_outline, size: 16)),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
ConstrainedBox(
|
|
|
|
),
|
|
|
|
constraints: const BoxConstraints.tightFor(width: widthConstraint),
|
|
|
|
ConstrainedBox(
|
|
|
|
child: Card(
|
|
|
|
constraints:
|
|
|
|
elevation: 0,
|
|
|
|
const BoxConstraints.tightFor(width: widthConstraint),
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
child: Card(
|
|
|
|
side: BorderSide(
|
|
|
|
elevation: 0,
|
|
|
|
color: Theme.of(context).colorScheme.outline,
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
|
|
|
side: BorderSide(
|
|
|
|
|
|
|
|
color: Theme.of(context).colorScheme.outline,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
borderRadius: const BorderRadius.all(Radius.circular(12)),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
child: Padding(
|
|
|
|
|
|
|
|
padding: const EdgeInsets.all(20.0),
|
|
|
|
|
|
|
|
child: child,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
borderRadius: const BorderRadius.all(Radius.circular(12)),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
child: Padding(
|
|
|
|
|
|
|
|
padding: const EdgeInsets.all(20.0),
|
|
|
|
|
|
|
|
child: child,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|