Make Logs scrollable

This commit is contained in:
lemoer 2025-07-19 11:16:28 +02:00
parent b0021f82ac
commit 99abd7a571

View File

@ -429,12 +429,15 @@ class _MyHomePageState extends State<MyHomePage> {
); );
final bodyComponentLogs = Center( final bodyComponentLogs = Center(
child: SingleChildScrollView(
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[ children: <Widget>[
Padding( Padding(
padding: EdgeInsets.all(20), padding: EdgeInsets.all(20),
child: Card( child: Card(
child: Padding(
padding: EdgeInsets.all(20),
child: ValueListenableBuilder<String?>( child: ValueListenableBuilder<String?>(
valueListenable: widget.errorNotifier, valueListenable: widget.errorNotifier,
builder: (context, error, child) { builder: (context, error, child) {
@ -449,10 +452,13 @@ class _MyHomePageState extends State<MyHomePage> {
), ),
), ),
), ),
),
], ],
), ),
),
); );
final actionButtonLogs = FloatingActionButton(
final actionButtonInfo = FloatingActionButton( final actionButtonInfo = FloatingActionButton(
onPressed: () => obtainKeyPair(regenerate: true), onPressed: () => obtainKeyPair(regenerate: true),
tooltip: 'Regenerate Key', tooltip: 'Regenerate Key',