fluffychat/lib/components/fluffy_banner.dart
Christian Pauly 829b3b2660 design:
2021-04-09 15:18:34 +02:00

11 lines
281 B
Dart

import 'package:flutter/material.dart';
class FluffyBanner extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Image.asset(Theme.of(context).brightness == Brightness.dark
? 'assets/banner_dark.png'
: 'assets/banner.png');
}
}