mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-20 20:22:35 +01:00
11 lines
281 B
Dart
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');
|
||
|
}
|
||
|
}
|