Files
wehub-resource-sync bb087aad19
CI / format (push) Failing after 2s
CI / packaging (push) Failing after 0s
CI / test (push) Failing after 3s
chore: import upstream snapshot with attribution
2026-07-13 11:58:56 +08:00

30 lines
651 B
Dart

import 'package:flutter/material.dart';
import 'package:localsend_app/widget/copyable_text.dart';
class DebugEntry extends StatelessWidget {
static const headerStyle = TextStyle(fontWeight: FontWeight.bold);
final String name;
final String? value;
const DebugEntry({
required this.name,
required this.value,
});
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const SizedBox(height: 20),
Text(name, style: headerStyle),
CopyableText(
name: name,
value: value,
),
],
);
}
}