add scrollbar in logs viewer screen (#1749)

This commit is contained in:
Vishnu Mohandas 2024-02-24 12:06:33 +05:30 committed by GitHub
commit 1a70c97b6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,14 +42,16 @@ class _LogFileViewerState extends State<LogFileViewer> {
}
return Container(
padding: const EdgeInsets.only(left: 12, top: 8, right: 12),
child: SingleChildScrollView(
child: Text(
_logs!,
style: const TextStyle(
fontFeatures: [
FontFeature.tabularFigures(),
],
height: 1.2,
child: Scrollbar(
child: SingleChildScrollView(
child: Text(
_logs!,
style: const TextStyle(
fontFeatures: [
FontFeature.tabularFigures(),
],
height: 1.2,
),
),
),
),