mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-25 18:28:57 +01:00
make rpc page title scrollable
This commit is contained in:
@@ -103,37 +103,43 @@ Widget rpcView(String title, String body) {
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>
|
||||
[
|
||||
Text
|
||||
(
|
||||
title,
|
||||
style: TextStyle
|
||||
(
|
||||
fontFamily: 'RobotoMono',
|
||||
fontSize: 35,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: config.textColor,
|
||||
),
|
||||
),
|
||||
Container(
|
||||
height: 1,
|
||||
color: config.textColor,
|
||||
margin: const EdgeInsets.only(bottom: 20, top: 20),
|
||||
),
|
||||
Expanded
|
||||
(
|
||||
flex: 1,
|
||||
child: SingleChildScrollView
|
||||
(
|
||||
scrollDirection: Axis.vertical,
|
||||
child: Text
|
||||
child: Column
|
||||
(
|
||||
body,
|
||||
style: TextStyle
|
||||
(
|
||||
fontFamily: 'RobotoMono',
|
||||
fontSize: 11,
|
||||
color: config.textColor,
|
||||
),
|
||||
children: <Widget>
|
||||
[
|
||||
Text
|
||||
(
|
||||
title,
|
||||
style: TextStyle
|
||||
(
|
||||
fontFamily: 'RobotoMono',
|
||||
fontSize: 35,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: config.textColor,
|
||||
),
|
||||
),
|
||||
Container(
|
||||
height: 1,
|
||||
color: config.textColor,
|
||||
margin: const EdgeInsets.only(bottom: 20, top: 20),
|
||||
),
|
||||
Text
|
||||
(
|
||||
body,
|
||||
style: TextStyle
|
||||
(
|
||||
fontFamily: 'RobotoMono',
|
||||
fontSize: 11,
|
||||
color: config.textColor,
|
||||
),
|
||||
)
|
||||
],
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user