diff --git a/making_school_asignment_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/making_school_asignment_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png index f3d77a2..dc5317f 100644 Binary files a/making_school_asignment_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/making_school_asignment_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/making_school_asignment_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/making_school_asignment_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index a488ffe..6842331 100644 Binary files a/making_school_asignment_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/making_school_asignment_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/making_school_asignment_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/making_school_asignment_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 1f803d6..bf756f8 100644 Binary files a/making_school_asignment_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/making_school_asignment_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/making_school_asignment_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/making_school_asignment_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index ceb8db7..f33a201 100644 Binary files a/making_school_asignment_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/making_school_asignment_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/making_school_asignment_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/making_school_asignment_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index a5bd17e..7905fc2 100644 Binary files a/making_school_asignment_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/making_school_asignment_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/making_school_asignment_app/assets/images/login_account.png b/making_school_asignment_app/assets/images/login_account.png index 9a17d64..fc85050 100644 Binary files a/making_school_asignment_app/assets/images/login_account.png and b/making_school_asignment_app/assets/images/login_account.png differ diff --git a/making_school_asignment_app/assets/images/login_pwd.png b/making_school_asignment_app/assets/images/login_pwd.png index 3a0efc5..f998419 100644 Binary files a/making_school_asignment_app/assets/images/login_pwd.png and b/making_school_asignment_app/assets/images/login_pwd.png differ diff --git a/making_school_asignment_app/lib/page/home_page/children/annotate_class/annotate_class_view.dart b/making_school_asignment_app/lib/page/home_page/children/annotate_class/annotate_class_view.dart index 3b01acf..968a650 100644 --- a/making_school_asignment_app/lib/page/home_page/children/annotate_class/annotate_class_view.dart +++ b/making_school_asignment_app/lib/page/home_page/children/annotate_class/annotate_class_view.dart @@ -92,7 +92,7 @@ class _AnnotateClassPageState extends State { return AnnotateItem( homeworkId: homeworkId, item: item, - font: 8.sp, + font: 11.sp, name: state.name.value, logic: logic, ); diff --git a/making_school_asignment_app/lib/page/home_page/children/fav_student/fav_student_view.dart b/making_school_asignment_app/lib/page/home_page/children/fav_student/fav_student_view.dart index 4c1e3a0..f4867b9 100644 --- a/making_school_asignment_app/lib/page/home_page/children/fav_student/fav_student_view.dart +++ b/making_school_asignment_app/lib/page/home_page/children/fav_student/fav_student_view.dart @@ -161,7 +161,7 @@ class _FavStudentPageState extends State { .width, height: 1.r, decoration: const BoxDecoration( - color: Color(0xFFCCCCCC), + color: Color(0xFFEEEEEE), ), ), Obx((){ diff --git a/making_school_asignment_app/lib/page/home_page/children/my_info.dart b/making_school_asignment_app/lib/page/home_page/children/my_info.dart index 6a73a1a..e42a7a5 100644 --- a/making_school_asignment_app/lib/page/home_page/children/my_info.dart +++ b/making_school_asignment_app/lib/page/home_page/children/my_info.dart @@ -59,11 +59,11 @@ class _MyInfoState extends State with AutomaticKeepAliveClientMixin { final personalInfoTitleStly = TextStyle( color: const Color.fromRGBO(80, 87, 103, 1), - fontSize: 16.sp, + fontSize: 13.sp, ); final personalInfoValStly = TextStyle( color: const Color.fromRGBO(148, 163, 182, 1), - fontSize: 16.sp, + fontSize: 13.sp, ); return AnnotatedRegion( @@ -80,7 +80,7 @@ class _MyInfoState extends State with AutomaticKeepAliveClientMixin { child: Column( children: [ Container( - height: 240.h, + height: 220.h, width: double.infinity, decoration: const BoxDecoration( image: DecorationImage( @@ -105,45 +105,14 @@ class _MyInfoState extends State with AutomaticKeepAliveClientMixin { alignment: const FractionalOffset(0.04, 0.1), children: [ Container( - height: 200.h, + height: 180.h, alignment: Alignment.center, child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - ClipRRect( - borderRadius: BorderRadius.circular(80.w), - child: Container( - width: 80.w, - height: 80.w, - padding: EdgeInsets.all(4.w), - decoration: BoxDecoration( - border: Border.all( - width: 1.w, - color: Colors.white, - ), - borderRadius: BorderRadius.all( - Radius.circular(40.w), - ), - boxShadow: [ - BoxShadow( - color: const Color.fromRGBO(46, 91, 255, 0.2), - offset: Offset(4.w, 6.h), //阴影y轴偏移量 - blurRadius: 8, //阴影模糊程度 - spreadRadius: 0.2, //阴影扩散程度 - ) - ], - ), - child: Image.asset('assets/images/default_user_dead.png') - - /* CachedNetworkImage( - fit: BoxFit.cover, - imageUrl:'', - placeholder: (context, url) => Image.asset('assets/images/default_user_dead.png'), - errorWidget: (context, url, error) => - Image.asset('assets/images/default_user_dead.png'), - ),*/ - ), - ), + SizedBox(height: 10.r,), + Image.asset('assets/images/default_user_dead.png',), + SizedBox(height: 10.r,), InkWell( onTap: () { /*if (tokenState == '' || userState.id == '') { @@ -151,10 +120,10 @@ class _MyInfoState extends State with AutomaticKeepAliveClientMixin { }*/ }, child: Container( - margin: EdgeInsets.only(top: 16.h), + margin: EdgeInsets.only(top: 0.h), child: Text( userInfo.value?.name ?? '请前往登录', - style: TextStyle(fontSize: 16.sp, color: Colors.white), + style: TextStyle(fontSize: 13.sp, color: Colors.white), ), ), ), @@ -171,7 +140,7 @@ class _MyInfoState extends State with AutomaticKeepAliveClientMixin { Container( margin: EdgeInsets.symmetric(vertical: 22.h, horizontal: 16.w), padding: EdgeInsets.symmetric(vertical: 22.h, horizontal: 16.w), - height: 240.h, + height: 180.h, decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(6.w)), color: Colors.white, @@ -245,7 +214,7 @@ class _MyInfoState extends State with AutomaticKeepAliveClientMixin { Icon( Icons.arrow_forward_ios, color: const Color.fromRGBO(80, 87, 103, 1), - size: 16.sp, + size: 13.sp, ) ], ), @@ -285,7 +254,7 @@ class _MyInfoState extends State with AutomaticKeepAliveClientMixin { children: [ Icon( Icons.exit_to_app_outlined, - size: 16.sp, + size: 13.sp, color: const Color.fromRGBO(148, 163, 182, 1), ), Container( @@ -293,7 +262,7 @@ class _MyInfoState extends State with AutomaticKeepAliveClientMixin { ), Text( '退出登录', - style: TextStyle(color: const Color.fromRGBO(148, 163, 182, 1), fontSize: 16.sp), + style: TextStyle(color: const Color.fromRGBO(148, 163, 182, 1), fontSize: 13.sp), ), ], ), diff --git a/making_school_asignment_app/lib/page/home_page/children/read_over/widget/annotate_list.dart b/making_school_asignment_app/lib/page/home_page/children/read_over/widget/annotate_list.dart index 63a34a2..e52f85b 100644 --- a/making_school_asignment_app/lib/page/home_page/children/read_over/widget/annotate_list.dart +++ b/making_school_asignment_app/lib/page/home_page/children/read_over/widget/annotate_list.dart @@ -290,6 +290,7 @@ Widget $reviewedItem({ padding: padEdg, child: Row( crossAxisAlignment: CrossAxisAlignment.start, + children: [ Container( width: 32.w, @@ -310,23 +311,19 @@ Widget $reviewedItem({ ), Expanded( child: quickText(jobTaskItem.name, size: 14.sp, color: const Color.fromRGBO(70, 70, 70, 1), maxLines: 2), - ) + ), + if (jobTaskItem.isFixed!) + Padding( + padding: EdgeInsets.only(top: 3.r), + child: Text( + '已订正', + style: TextStyle(fontSize: 10.sp, color: const Color(0xFFF16262)), + ), + ), ], ), ), - if (jobTaskItem.isFixed!) - Padding( - padding: padEdg, - child: Row( - mainAxisAlignment: MainAxisAlignment.end, - children: [ - Text( - '已订正', - style: TextStyle(fontSize: 10.sp, color: const Color(0xFFF16262)), - ), - ], - ), - ), + Padding( padding: padEdg, child: Row( diff --git a/making_school_asignment_app/lib/page/home_page/children/read_over/widget/task_list_item.dart b/making_school_asignment_app/lib/page/home_page/children/read_over/widget/task_list_item.dart index 9113ef4..6fb398d 100644 --- a/making_school_asignment_app/lib/page/home_page/children/read_over/widget/task_list_item.dart +++ b/making_school_asignment_app/lib/page/home_page/children/read_over/widget/task_list_item.dart @@ -164,121 +164,125 @@ class _TaskListItemState extends State { alignment: const FractionalOffset(0.95, 0), children: [ Container( - margin: EdgeInsets.only(bottom: 16.h), - padding: EdgeInsets.symmetric(vertical: 16.h, horizontal: 10.w), - width: Get.width, - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(6.r), - color: const Color.fromRGBO(255, 255, 255, 1), - boxShadow: const [ - BoxShadow( - color: Color.fromRGBO(210, 216, 241, 1), - offset: Offset.zero, //阴影y轴偏移量 - blurRadius: 5.8, //阴影模糊程度 - spreadRadius: 0, //阴影扩散程度 - ) - ], - ), - child: Row( - children: [ - Expanded( - child: Column( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - SizedBox(height: 30.h), - Row( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Container( - width: Utils.isPad() ? 32.w : 38.w, - height: 18.h, - alignment: Alignment.center, - padding: EdgeInsets.only(left: Utils.isPad() ? 2.w : 3.w), + color: Colors.transparent, + padding: EdgeInsets.only(top: 40.r), + child: Container( + margin: EdgeInsets.only(bottom: 16.h), + padding: EdgeInsets.symmetric(vertical: 16.h,horizontal: 10.w), + width: Get.width, + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(6.r), + color: const Color.fromRGBO(255, 255, 255, 1), + boxShadow: const [ + BoxShadow( + color: Color.fromRGBO(210, 216, 241, 1), + offset: Offset.zero, //阴影y轴偏移量 + blurRadius: 5.8, //阴影模糊程度 + spreadRadius: 0, //阴影扩散程度 + ) + ], + ), + child: Row( + children: [ + Expanded( + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + SizedBox(height: 10.h), + Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + width: Utils.isPad() ? 32.w : 38.w, + height: 18.h, + alignment: Alignment.center, + padding: EdgeInsets.only(left: Utils.isPad() ? 2.w : 3.w), + decoration: BoxDecoration( + color: widget.type == 1 ? const Color.fromRGBO(104, 136, 253, 1) : const Color.fromRGBO(255, 175, 56, 1), + borderRadius: BorderRadius.only( + topLeft: Radius.circular(14.r), + topRight: Radius.circular(3.r), + bottomLeft: Radius.circular(4.r), + bottomRight: Radius.circular(4.r), + ), + ), + margin: EdgeInsets.only(right: 4.w), + child: quickText(widget.type == 1 ? '作业' : '考试', color: Colors.white, size: 10.sp), + ), + Expanded( + child: quickText( + widget.jobTaskItem.name, + maxLines: 2, + size: Utils.isPad() ? 14.sp : 16.sp, + color: const Color.fromRGBO(70, 70, 70, 1), + fontWeight: FontWeight.bold, + ), + ) + ], + ), + SizedBox(height: 10.h), + Row( + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + quickText( + EnumUtils.formatSubject(widget.jobTaskItem.subject), + color: const Color.fromRGBO(97, 97, 97, 1), + size: 12.sp, + ), + quickText(' / ', color: const Color.fromRGBO(130, 130, 130, 1), size: 11.sp, fontWeight: FontWeight.w500), + Row( + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + quickText('题量:', color: const Color.fromRGBO(130, 130, 130, 1), size: 11.sp), + quickText( + '${widget.jobTaskItem.questionCount! - widget.jobTaskItem.annotateCount!}', + color: const Color.fromRGBO(97, 97, 97, 1), + size: 13.sp, + ), + ], + ), + quickText(' / ', color: const Color.fromRGBO(130, 130, 130, 1), size: 11.sp, fontWeight: FontWeight.w500), + quickText(DateTime.parse(widget.jobTaskItem.publishTime).toString().substring(0, 10), + color: const Color.fromRGBO(97, 97, 97, 1), size: 12.sp), + ], + ), + SizedBox(height: 10.h), + InkWell( + onTap: () { + if (!widget.jobTaskItem.isFixed!) { + EasyLoading.show(status: 'loading...'); + widget.collectFun(widget.jobTaskItem); + } + }, + child: Container( + padding: EdgeInsets.symmetric(vertical: 4.r, horizontal: 20.r), decoration: BoxDecoration( - color: widget.type == 1 ? const Color.fromRGBO(104, 136, 253, 1) : const Color.fromRGBO(255, 175, 56, 1), - borderRadius: BorderRadius.only( - topLeft: Radius.circular(14.r), - topRight: Radius.circular(3.r), - bottomLeft: Radius.circular(4.r), - bottomRight: Radius.circular(4.r), - ), + color: widget.jobTaskItem.isFixed! ? Color(0xFFF4F4F4) : Color(0xFFF2FFFA), + border: Border.all(width: 1.r, color: widget.jobTaskItem.isFixed! ? Colors.transparent : Color(0xFF4CC793)), + borderRadius: BorderRadius.all(Radius.circular(20.r)), ), - margin: EdgeInsets.only(right: 4.w), - child: quickText(widget.type == 1 ? '作业' : '考试', color: Colors.white, size: 10.sp), - ), - Expanded( - child: quickText( - widget.jobTaskItem.name, - maxLines: 2, - size: Utils.isPad() ? 14.sp : 16.sp, - color: const Color.fromRGBO(70, 70, 70, 1), - fontWeight: FontWeight.bold, + child: Text( + widget.jobTaskItem.isFixed! ? '已订正' : '收集订正', + style: TextStyle(fontSize: 10.sp, color: const Color(0xFF4CC793)), ), - ) - ], - ), - SizedBox(height: 10.h), - Row( - crossAxisAlignment: CrossAxisAlignment.end, - children: [ - quickText( - EnumUtils.formatSubject(widget.jobTaskItem.subject), - color: const Color.fromRGBO(97, 97, 97, 1), - size: 12.sp, - ), - quickText(' / ', color: const Color.fromRGBO(130, 130, 130, 1), size: 11.sp, fontWeight: FontWeight.w500), - Row( - crossAxisAlignment: CrossAxisAlignment.end, - children: [ - quickText('题量:', color: const Color.fromRGBO(130, 130, 130, 1), size: 11.sp), - quickText( - '${widget.jobTaskItem.questionCount! - widget.jobTaskItem.annotateCount!}', - color: const Color.fromRGBO(97, 97, 97, 1), - size: 13.sp, - ), - ], - ), - quickText(' / ', color: const Color.fromRGBO(130, 130, 130, 1), size: 11.sp, fontWeight: FontWeight.w500), - quickText(DateTime.parse(widget.jobTaskItem.publishTime).toString().substring(0, 10), - color: const Color.fromRGBO(97, 97, 97, 1), size: 12.sp), - ], - ), - SizedBox(height: 10.h), - InkWell( - onTap: () { - if (!widget.jobTaskItem.isFixed!) { - EasyLoading.show(status: 'loading...'); - widget.collectFun(widget.jobTaskItem); - } - }, - child: Container( - padding: EdgeInsets.symmetric(vertical: 4.r, horizontal: 20.r), - decoration: BoxDecoration( - color: widget.jobTaskItem.isFixed! ? Color(0xFFF4F4F4) : Color(0xFFF2FFFA), - border: Border.all(width: 1.r, color: widget.jobTaskItem.isFixed! ? Colors.transparent : Color(0xFF4CC793)), - borderRadius: BorderRadius.all(Radius.circular(20.r)), - ), - child: Text( - widget.jobTaskItem.isFixed! ? '已订正' : '收集订正', - style: TextStyle(fontSize: 10.sp, color: const Color(0xFF4CC793)), ), ), - ), - // FavoriteButton(jobTaskItem.id, jobTaskItem.title), - ], + // FavoriteButton(jobTaskItem.id, jobTaskItem.title), + ], + ), ), - ), - SizedBox(width: 100.r,), - ], + SizedBox(width: 130.r,), + ], + ), ), ), Container( padding: EdgeInsets.all(9.r), decoration: const BoxDecoration(shape: BoxShape.circle, color: Colors.white), child: CircularPercentIndicator( - radius: 40.r, - lineWidth: 10.r, + radius: 50.r, + lineWidth: 18.r, animation: true, percent: widget.jobTaskItem.annotateRate == null ? 0 : widget.jobTaskItem.annotateRate! / 100, center: Text.rich(TextSpan(children: [ diff --git a/making_school_asignment_app/lib/page/home_page/home_view.dart b/making_school_asignment_app/lib/page/home_page/home_view.dart index e624f51..31eb696 100644 --- a/making_school_asignment_app/lib/page/home_page/home_view.dart +++ b/making_school_asignment_app/lib/page/home_page/home_view.dart @@ -34,7 +34,7 @@ class _HomePageState extends State with AutomaticKeepAliveClientMixin @override Widget build(BuildContext context) { super.build(context); - var spaceWidth = SizedBox(height: ScreenUtil().screenWidth / 19); + var spaceWidth = SizedBox(height: ScreenUtil().screenWidth / 30); return SafeArea( child: AnnotatedRegion( value: const SystemUiOverlayStyle( @@ -63,6 +63,7 @@ class _HomePageState extends State with AutomaticKeepAliveClientMixin }, child: Column( children: [ + SizedBox(height: 15.r,), /* Container( height: 200.h, width: double.infinity, @@ -105,7 +106,7 @@ class _HomePageState extends State with AutomaticKeepAliveClientMixin navigationUrl: '') ], 0),*/ - SizedBox(height: 16.h), + SizedBox(height: 15.h), Obx(() { return Container( padding: EdgeInsets.symmetric(horizontal: 12.w), @@ -122,12 +123,12 @@ class _HomePageState extends State with AutomaticKeepAliveClientMixin }); }, child: Container( - margin: EdgeInsets.only(bottom: 16.h), + margin: EdgeInsets.only(bottom: 15.h), child: Column( children: [ SizedBox(height: 4.h), Container( - padding: EdgeInsets.symmetric(vertical: 16.h, horizontal: 10.w), + padding: EdgeInsets.symmetric(vertical: 15.h, horizontal: 10.w), width: double.infinity, decoration: BoxDecoration( borderRadius: BorderRadius.circular(6.r), @@ -272,16 +273,17 @@ Widget $termRow(BuildContext context, List items, int? data) { case 2: childWidget = Row(children: [ Expanded(flex: 9, child: $TermItem(items[0], data!)), - const Expanded(flex: 1, child: SizedBox()), + // const Expanded(flex: 1, child: SizedBox()), + SizedBox(width: ScreenUtil().screenWidth / 30), Expanded(flex: 9, child: $TermItem(items[1], data!)), ]); break; case 3: - double theHeight = ScreenUtil().screenWidth / 19 + 54.h * 2; + double theHeight = ScreenUtil().screenWidth / 30 + 54.h * 2; childWidget = Row( children: [ Expanded(child: $TermItem(items[0], data!, theHeight: theHeight)), - SizedBox(width: ScreenUtil().screenWidth / 19), + SizedBox(width: ScreenUtil().screenWidth / 30), Expanded( child: SizedBox( height: theHeight, diff --git a/making_school_asignment_app/lib/page/login_page/login_view.dart b/making_school_asignment_app/lib/page/login_page/login_view.dart index c48861b..cf6c913 100644 --- a/making_school_asignment_app/lib/page/login_page/login_view.dart +++ b/making_school_asignment_app/lib/page/login_page/login_view.dart @@ -80,7 +80,7 @@ class _LoginPageState extends State { ),*/ child: Column(children: [ Container( - padding: EdgeInsets.symmetric(horizontal: 10.r), + padding: EdgeInsets.symmetric(horizontal: 20.r), decoration: BoxDecoration( color: Colors.transparent, border: Border.all(width: 1.w, color: const Color(0xFFAECBFF)), @@ -112,31 +112,14 @@ class _LoginPageState extends State { color: Colors.white, ), border: InputBorder.none, - prefixIcon: Image.asset( - 'assets/images/login_account.png', - width: 10.r, - height: 10.r, + prefix: Padding( + padding: EdgeInsets.only(right: 5.r), + child: Image.asset( + 'assets/images/login_account.png', + width: 15.r, + height: 15.r, + ), ), - /* suffixIcon: !state.hasNameVal - ? null - : Transform.translate( - offset: - Offset(10, 10), // 根据原始组件的padding值来设置偏移量 - child: IconButton( - alignment: Alignment.center, - padding: EdgeInsets.zero, - icon: Icon( - Icons.highlight_off_sharp, - color: Colors.grey, - size: 16.r, - ), - onPressed: () { - state.userNameController - .clear(); // 清空文本框内容 - state.passwordController.clear(); - }, - ), - ),*/ ), ), ), @@ -146,7 +129,7 @@ class _LoginPageState extends State { ), Obx(() { return Container( - padding: EdgeInsets.symmetric(horizontal: 10.r), + padding: EdgeInsets.symmetric(horizontal: 20.r), decoration: BoxDecoration( color: Colors.transparent, border: Border.all(width: 1.w, color: const Color(0xFFAECBFF)), @@ -167,19 +150,13 @@ class _LoginPageState extends State { ), decoration: InputDecoration( hintText: "请输入密码", - /* suffix: GestureDetector( - onTap: logic.showPassword, - child: Icon( - Icons.remove_red_eye, - color: state.isShowPwd.value - ? Theme.of(context).primaryColor - : Colors.grey, + prefix: Padding( + padding: EdgeInsets.only(right:5.r), + child: Image.asset( + 'assets/images/login_pwd.png', + width: 15.r, + height: 15.r, ), - ),*/ - prefixIcon: Image.asset( - 'assets/images/login_pwd.png', - width: 10.r, - height: 10.r, ), hintStyle: TextStyle( fontSize: 14.sp, @@ -277,21 +254,24 @@ class _LoginPageState extends State { Row( children: [ Container( - width: 20.w, + width: 25 .w, padding: EdgeInsets.only(right: 0.w), child: Obx(() { - return Checkbox( - activeColor: Theme.of(context).primaryColor, - checkColor: Colors.white, - value: state.readAgreement.value, - onChanged: (value) { - Utils.hideKeyboard(); - /* FocusScope.of(context).requestFocus( - state.pwdFocus); - FocusScope.of(context).requestFocus( - state.theFocus);*/ - state.readAgreement.value = value ?? false; - }, + return Transform.scale( + scale: 1.2, + child: Checkbox( + activeColor: Theme.of(context).primaryColor, + checkColor: Colors.white, + value: state.readAgreement.value, + onChanged: (value) { + Utils.hideKeyboard(); + /* FocusScope.of(context).requestFocus( + state.pwdFocus); + FocusScope.of(context).requestFocus( + state.theFocus);*/ + state.readAgreement.value = value ?? false; + }, + ), ); }), ),