mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-05 03:29:30 +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');
|
|
}
|
|
}
|