mooerView method
Implementation
Widget mooerView() {
return Column(
children: [
Container(
width: 95.r,
height: 95.r,
child: Image.asset(MooerAi.instance.aiConfig.aiLogoPath()),
margin: EdgeInsets.only(
top: MooerAi.instance.aiConfig.isPortrait ? 30.r : 0,
bottom: MooerAi.instance.aiConfig.isPortrait ? 30.r : 20.r),
),
Text(
'Hello :)',
style: TextStyle(fontSize: 20.sp, color: Color(0xff00FFFB), fontWeight: FontWeight.w600),
).marginOnly(bottom: 15.r),
Expanded(
child: Text(
"${MooerAi.instance.tips["ai_welcome"][Get.locale!.languageCode] ?? ""}",
maxLines: 4,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 16.sp, color: Color(0xffffffff)),
).marginSymmetric(
horizontal: 65.r,
)),
GestureDetector(
onTap: () {
logic.toInput();
},
child: AiInputLayout(
child: Center(
child: Text(MooerAi.instance.tips["ai_input_hint"][Get.locale!.languageCode] ?? "",
style: TextStyle(fontSize: 14.sp, color: Color(0xffffffff).withValues(alpha: 0.2)))),
)),
],
);
}