import 'package:dating_touchme_app/components/page_appbar.dart'; import 'package:dating_touchme_app/generated/assets.dart'; import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; class TestPage extends StatelessWidget { const TestPage({super.key}); @override Widget build(BuildContext context) { return Stack( children: [ Image.asset( Assets.imagesTestBg, width: 375.w, fit: BoxFit.cover, ), Scaffold( backgroundColor: Colors.transparent, appBar: PageAppbar(title: "人格类型测试", color: Colors.white, backgroundColor: Colors.transparent,), body: Container( width: 375.w, padding: EdgeInsets.symmetric( vertical: 40.w, horizontal: 12.w ), child: Column( children: [ Container( width: 350.w, padding: EdgeInsets.all(30.w), decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(16.w)), color: const Color.fromRGBO(39, 48, 89, 1) ), child: Center( child: Text( "在陌生环境中,你通常会在陌生环境中,你通常会在陌生环境中,你通常会", style: TextStyle( fontSize: 16.w, color: Colors.white ), ), ), ) ], ), ), ) ], ); } }