45 lines
1.6 KiB
Dart
45 lines
1.6 KiB
Dart
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
import '../../../app_settings/app_colors.dart';
|
|
import '../../../tools/tf_loginInput.dart';
|
|
import '../../../tools/titleAppBar.dart';
|
|
import '../../../translations/trans_lib.dart';
|
|
|
|
class MinePersonInfoEditNamePage extends StatefulWidget {
|
|
const MinePersonInfoEditNamePage({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
State<MinePersonInfoEditNamePage> createState() => _MinePersonInfoEditNamePageState();
|
|
}
|
|
|
|
class _MinePersonInfoEditNamePageState extends State<MinePersonInfoEditNamePage> {
|
|
final TextEditingController _changeNickNameController = TextEditingController();
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
backgroundColor: AppColors.mainBackgroundColor,
|
|
appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.changeNickName!.tr, haveBack:true, backgroundColor: AppColors.mainColor, actionsList: [
|
|
TextButton(
|
|
child: Text(TranslationLoader.lanKeys!.save!.tr, style: const TextStyle(color: Colors.white),),
|
|
onPressed: (){
|
|
|
|
},),],
|
|
),
|
|
body:Container(
|
|
padding: EdgeInsets.all(15.w),
|
|
child: Column(
|
|
children: [
|
|
LoginInput(controller: _changeNickNameController, isPwd: true, leftWidget:SizedBox(width: 15.w), hintText: "${TranslationLoader.lanKeys!.pleaseEnter!.tr} ${TranslationLoader.lanKeys!.password!.tr}",inputFormatters: [
|
|
// LengthLimitingTextInputFormatter(20),
|
|
]),
|
|
],
|
|
),
|
|
)
|
|
);
|
|
}
|
|
}
|