Fixed placeholder image color on tablet placeholder view
This commit is contained in:
parent
ef349685ef
commit
460b771e27
@ -1,5 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
import '../../../../theming/appTheme.dart';
|
||||||
|
|
||||||
class SplitViewPlaceholder extends StatelessWidget {
|
class SplitViewPlaceholder extends StatelessWidget {
|
||||||
const SplitViewPlaceholder({super.key});
|
const SplitViewPlaceholder({super.key});
|
||||||
|
|
||||||
@ -11,7 +13,12 @@ class SplitViewPlaceholder extends StatelessWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Image.asset("assets/logo/icon.png", height: 200),
|
MediaQuery(
|
||||||
|
data: MediaQuery.of(context).copyWith(
|
||||||
|
invertColors: !AppTheme.isDarkMode(context),
|
||||||
|
),
|
||||||
|
child: Image.asset("assets/logo/icon.png", height: 200),
|
||||||
|
),
|
||||||
const SizedBox(height: 30),
|
const SizedBox(height: 30),
|
||||||
const Text("Marianum Fulda\nTalk", textAlign: TextAlign.center, style: TextStyle(fontSize: 30)),
|
const Text("Marianum Fulda\nTalk", textAlign: TextAlign.center, style: TextStyle(fontSize: 30)),
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user