make rpc page title scrollable

pull/2/head
fuwa 5 years ago
parent ee3750ce09
commit 867c403029

@ -101,6 +101,16 @@ Widget rpcView(String title, String body) {
child: Column child: Column
( (
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>
[
Expanded
(
flex: 1,
child: SingleChildScrollView
(
scrollDirection: Axis.vertical,
child: Column
(
children: <Widget> children: <Widget>
[ [
Text Text
@ -119,13 +129,7 @@ Widget rpcView(String title, String body) {
color: config.textColor, color: config.textColor,
margin: const EdgeInsets.only(bottom: 20, top: 20), margin: const EdgeInsets.only(bottom: 20, top: 20),
), ),
Expanded Text
(
flex: 1,
child: SingleChildScrollView
(
scrollDirection: Axis.vertical,
child: Text
( (
body, body,
style: TextStyle style: TextStyle
@ -135,6 +139,8 @@ Widget rpcView(String title, String body) {
color: config.textColor, color: config.textColor,
), ),
) )
],
)
) )
) )
], ],