mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +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');
|
|
}
|
|
}
|