flammaView method

Widget flammaView()

Implementation

Widget flammaView() {
  return Column(
    children: [
      Expanded(
        child: SizedBox(),
      ),
      Expanded(
          child: Column(
            children: [
              Expanded(child: Center(child: Text(
                "${MooerAi.instance.tips["ai_welcome"][Get.locale!.languageCode] ?? ""}",
                maxLines: 4,
                overflow: TextOverflow.ellipsis,
                style: TextStyle(fontSize: 22.sp, color: Color(0xffffffff),fontWeight: FontWeight.w500,height: 2),
              ).marginSymmetric(
                horizontal: 30.r,
              ),)),
              GestureDetector(
                  onTap: () {
                    logic.toInput();
                  },
                  child: Row(
                    children: [
                      Expanded(
                        child: AiFlammaInputLayout(
                          child: Container(
                            padding:EdgeInsets.symmetric(horizontal: 15.r),
                            alignment: Alignment.centerLeft,
                            child: Text(MooerAi.instance.tips["ai_input_hint"][Get.locale!.languageCode] ?? "",
                                style: TextStyle(fontSize: 16.sp, color: Color(0xffffffff).withValues(alpha: 0.3))),
                          ),
                        ),
                      ),
                      Container(
                        margin: EdgeInsets.only(left: 5.r),
                        width: 50.r,
                        height: 50.r,
                        alignment: Alignment.center,
                        child: AiImage.aiFlammaSendImage(Colors.white54),
                        decoration: BoxDecoration(
                          color: Color(0x1affffff),

                          borderRadius: BorderRadius.circular(50.r)
                        ),
                      )
                    ],
                  ).marginSymmetric(horizontal: 15.r)),
            ],
          )),

    ],
  );
}