35 lines
790 B
Dart
35 lines
790 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:ln_jq_app/common/login_util.dart';
|
|
import 'controller.dart';
|
|
|
|
class WelcomePage extends GetView<WelcomeController> {
|
|
const WelcomePage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
// 初始化控制器
|
|
Get.put(WelcomeController());
|
|
|
|
return Scaffold(
|
|
backgroundColor: Colors.white,
|
|
body: SizedBox.expand(
|
|
child: Stack(
|
|
children: [
|
|
Positioned(
|
|
top: 0,
|
|
bottom: 0,
|
|
left: 0,
|
|
right: 0,
|
|
child: Image.asset(
|
|
'assets/images/welcome.png',
|
|
fit: BoxFit.fill
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|