color
This commit is contained in:
parent
ad5eb7830c
commit
86add59e92
@ -20,6 +20,7 @@ class MyTheme {
|
||||
static const Color white = Color(0xFFFFFFFF);
|
||||
static const Color accent = Color(0xFF0071FF);
|
||||
static const Color accent50 = Color(0x770071FF);
|
||||
static const Color canvasColor = Color(0xFF212121);
|
||||
}
|
||||
|
||||
// https://github.com/huangjianke/flutter_easyloading
|
||||
|
@ -52,8 +52,8 @@ class _RemotePageState extends State<RemotePage> {
|
||||
Widget build(BuildContext context) {
|
||||
// Size size = MediaQueryData.fromWindow(ui.window).size;
|
||||
// MediaQuery.of(context).size.height;
|
||||
EasyLoading.instance.loadingStyle = EasyLoadingStyle.light;
|
||||
return Scaffold(
|
||||
backgroundColor: MyTheme.grayBg,
|
||||
floatingActionButton: _show_bar
|
||||
? null
|
||||
: FloatingActionButton(
|
||||
@ -110,6 +110,8 @@ class _RemotePageState extends State<RemotePage> {
|
||||
)
|
||||
: null,
|
||||
body: FlutterEasyLoading(
|
||||
child: Container(
|
||||
color: MyTheme.canvasColor,
|
||||
child: InteractiveViewer(
|
||||
constrained: false,
|
||||
panEnabled: true,
|
||||
@ -121,7 +123,7 @@ class _RemotePageState extends State<RemotePage> {
|
||||
CursorPaint(),
|
||||
]),
|
||||
),
|
||||
));
|
||||
)));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user