Encrypted peer-to-peer IM for data security. Own data, own privacy. (Rust+Flutter)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
661 B

import 'package:flutter/material.dart';
class DefaultCoreShow extends StatelessWidget {
const DefaultCoreShow({Key? key}): super(key: key);
@override
Widget build(BuildContext context) {
final isLight = Theme.of(context).colorScheme.brightness == Brightness.light;
return Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(
isLight
? 'assets/images/background_light.jpg'
: 'assets/images/background_dark.jpg'
),
fit: BoxFit.cover,
),
),
child: Center(child: Text('', style: TextStyle(fontSize: 32.0)))
);
}
}