Replace splash_chat_hebat with assets/icons/logo.png on @color/ic_launcher_background (customer #FF699F pink, mitra #FFFFFF white) across launch_background.xml (x2) and values-v31/styles.xml in both apps; copy logo.png into res/drawable. The mitra Flutter /splash screen still showed the old image — repoint it to assets/icons/logo.png (add assets/icons/ to mitra pubspec), keeping the route (it is the auth-loading gate). Native + flutter splash now match the launcher icon. Old splash_chat_hebat.png left in place but unused. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
23 lines
640 B
Dart
23 lines
640 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// Loading gate shown by the `/splash` route while auth resolves on launch.
|
|
/// Visually matches the native Android launch splash (new logo on white), so
|
|
/// the user only ever sees one splash with the current icon — no flash of the
|
|
/// old `splash_chat_hebat` image.
|
|
class SplashScreen extends StatelessWidget {
|
|
const SplashScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
backgroundColor: Colors.white,
|
|
body: Center(
|
|
child: Image.asset(
|
|
'assets/icons/logo.png',
|
|
width: 200,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|