Make Logs scrollable
This commit is contained in:
parent
b0021f82ac
commit
99abd7a571
@ -429,30 +429,36 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
);
|
||||
|
||||
final bodyComponentLogs = Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
Padding(
|
||||
padding: EdgeInsets.all(20),
|
||||
child: Card(
|
||||
child: ValueListenableBuilder<String?>(
|
||||
valueListenable: widget.errorNotifier,
|
||||
builder: (context, error, child) {
|
||||
if (error != null) {
|
||||
return Text(
|
||||
"Error: $error",
|
||||
style: TextStyle(color: Colors.red, fontSize: 15),
|
||||
);
|
||||
}
|
||||
return Text("No exceptions captured yet.");
|
||||
},
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
Padding(
|
||||
padding: EdgeInsets.all(20),
|
||||
child: Card(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(20),
|
||||
child: ValueListenableBuilder<String?>(
|
||||
valueListenable: widget.errorNotifier,
|
||||
builder: (context, error, child) {
|
||||
if (error != null) {
|
||||
return Text(
|
||||
"Error: $error",
|
||||
style: TextStyle(color: Colors.red, fontSize: 15),
|
||||
);
|
||||
}
|
||||
return Text("No exceptions captured yet.");
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
final actionButtonLogs = FloatingActionButton(
|
||||
final actionButtonInfo = FloatingActionButton(
|
||||
onPressed: () => obtainKeyPair(regenerate: true),
|
||||
tooltip: 'Regenerate Key',
|
||||
|
Loading…
x
Reference in New Issue
Block a user