diff options
| author | unitexe <unitexe70@gmail.com> | 2024-12-19 10:04:49 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2024-12-19 10:04:49 -0600 |
| commit | e34c7c4ca151d6ca5282176cdbbe8f9d1844c9ae (patch) | |
| tree | f063f2dd9261969778bd0ca84bd037879ca0ce7a /lib/value_display.dart | |
| parent | 5d7c87a5c3d3dfa3e5cf78f13b85265dc4130fd0 (diff) | |
Diffstat (limited to 'lib/value_display.dart')
| -rw-r--r-- | lib/value_display.dart | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/value_display.dart b/lib/value_display.dart new file mode 100644 index 0000000..44f58fe --- /dev/null +++ b/lib/value_display.dart @@ -0,0 +1,13 @@ +import 'package:flutter/widgets.dart'; + +class ValueDisplay extends StatelessWidget { + const ValueDisplay({required this.label, required this.value, super.key}); + + final String label; + final int value; + + @override + Widget build(BuildContext context) { + return Text('$label: $value'); + } +}
\ No newline at end of file |
