36 lines
913 B
Dart
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,
|
|
),
|
|
),
|
|
);
|
|
}),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|