horizontal scrolling mayhaps
This commit is contained in:
parent
911e53938b
commit
055163b5b1
|
@ -29,7 +29,7 @@ class _LogsPageState extends State<LogsPage> {
|
||||||
final shockerId = prefs.getString('shockerId');
|
final shockerId = prefs.getString('shockerId');
|
||||||
|
|
||||||
if (apiKey == null || shockerId == null) {
|
if (apiKey == null || shockerId == null) {
|
||||||
// fuck you i'm not going to properly handle missing stuff
|
// fuck you i dont handle missing stuff
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ class _LogsPageState extends State<LogsPage> {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// fuck you i'm not going to properly handle missing stuff
|
// Fuck you im not handling errors either
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,16 +87,15 @@ class _LogsPageState extends State<LogsPage> {
|
||||||
),
|
),
|
||||||
body: RefreshIndicator(
|
body: RefreshIndicator(
|
||||||
onRefresh: _handleRefresh,
|
onRefresh: _handleRefresh,
|
||||||
child: Scrollbar(
|
child: SingleChildScrollView(
|
||||||
thumbVisibility: true,
|
scrollDirection: Axis.horizontal,
|
||||||
child: Padding(
|
child: SingleChildScrollView(
|
||||||
padding: const EdgeInsets.all(16.0),
|
child: Padding(
|
||||||
child: Column(
|
padding: const EdgeInsets.all(16.0),
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
child: Column(
|
||||||
children: [
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
const Text('Logs'),
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: SingleChildScrollView(
|
|
||||||
child: DataTable(
|
child: DataTable(
|
||||||
columns: const [
|
columns: const [
|
||||||
DataColumn(label: Text('Name')),
|
DataColumn(label: Text('Name')),
|
||||||
|
@ -128,8 +127,8 @@ class _LogsPageState extends State<LogsPage> {
|
||||||
}).toList(),
|
}).toList(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue