mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 10:52:34 +01:00
13 lines
333 B
Dart
13 lines
333 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class FluffyBanner extends StatelessWidget {
|
|
const FluffyBanner({Key key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Image.asset(Theme.of(context).brightness == Brightness.dark
|
|
? 'assets/banner_dark.png'
|
|
: 'assets/banner.png');
|
|
}
|
|
}
|