|
|
@ -80,6 +80,31 @@ class TranslationView extends GetView<TranslationController> { |
|
|
controller: controller, |
|
|
controller: controller, |
|
|
), |
|
|
), |
|
|
|
|
|
|
|
|
|
|
|
Positioned( |
|
|
|
|
|
top: 2, |
|
|
|
|
|
left: 0, |
|
|
|
|
|
right: 0, |
|
|
|
|
|
child: SafeArea( |
|
|
|
|
|
top: true, |
|
|
|
|
|
child: Container( |
|
|
|
|
|
height: 56.h, |
|
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 8.w), |
|
|
|
|
|
color: Colors.transparent, |
|
|
|
|
|
child: Align( |
|
|
|
|
|
alignment: Alignment.centerLeft, |
|
|
|
|
|
child: IconButton( |
|
|
|
|
|
icon: Icon( |
|
|
|
|
|
Icons.arrow_back_ios, |
|
|
|
|
|
color: isDarkMode ? Colors.white : Colors.black, |
|
|
|
|
|
size: 20.sp, |
|
|
|
|
|
), |
|
|
|
|
|
onPressed: () => Get.back(), |
|
|
|
|
|
), |
|
|
|
|
|
), |
|
|
|
|
|
), |
|
|
|
|
|
), |
|
|
|
|
|
), |
|
|
|
|
|
|
|
|
// 顶部按钮(倒过来) |
|
|
// 顶部按钮(倒过来) |
|
|
Positioned( |
|
|
Positioned( |
|
|
top: 50.h, |
|
|
top: 50.h, |
|
|
|