WallPaper_FSX_Flutter/lib/modules/about/about_view.dart
2024-05-13 13:44:27 +08:00

36 lines
913 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:wallpaper/common/components/base_appbar.dart';
import 'about_controller.dart';
class AboutView extends GetView<AboutController> {
const AboutView({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: const BaseAppBar('About'),
body: Column(
children: [
SizedBox(height: 100.h),
Obx(() {
return Align(
alignment: Alignment.center,
child: Text(
controller.versionName.value,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
fontSize: 14.sp,
),
),
);
}),
],
),
);
}
}