diff --git a/cyberwow/lib/widget/synced.dart b/cyberwow/lib/widget/synced.dart index 80c2415..c5fb106 100644 --- a/cyberwow/lib/widget/synced.dart +++ b/cyberwow/lib/widget/synced.dart @@ -103,37 +103,43 @@ Widget rpcView(String title, String body) { mainAxisAlignment: MainAxisAlignment.center, children: [ - 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: + [ + 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, + ), + ) + ], ) ) )