3
0
Fork 0
trifid_mobile/lib/screens/siteConfig/RenderedConfigScreen.dart

22 lines
696 B
Dart
Raw Normal View History

2020-07-27 20:43:58 +00:00
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:mobile_nebula/components/SimplePage.dart';
class RenderedConfigScreen extends StatelessWidget {
final String config;
RenderedConfigScreen({Key key, this.config}) : super(key: key);
@override
Widget build(BuildContext context) {
return SimplePage(
title: 'Rendered Site Config',
scrollable: SimpleScrollable.both,
child: Container(
padding: EdgeInsets.all(5),
constraints: BoxConstraints(minWidth: MediaQuery.of(context).size.width),
child: SelectableText(config, style: TextStyle(fontFamily: 'RobotoMono', fontSize: 14))),
);
}
}