You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.0 KiB
69 lines
2.0 KiB
3 years ago
|
import 'package:flutter/cupertino.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:huixiang/generated/l10n.dart';
|
||
|
import 'package:huixiang/utils/font_weight.dart';
|
||
|
import 'package:huixiang/view_widget/login_tips_dialog.dart';
|
||
|
import 'package:shared_preferences/shared_preferences.dart';
|
||
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||
|
import 'package:url_launcher/url_launcher.dart';
|
||
|
|
||
|
class MineCalendar extends StatefulWidget {
|
||
|
@override
|
||
|
State<StatefulWidget> createState() {
|
||
|
return _MineCalendar();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class _MineCalendar extends State<MineCalendar> {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Container(
|
||
|
margin: EdgeInsets.fromLTRB(16.w, 10.h, 16.w, 28.h),
|
||
|
padding: EdgeInsets.only(top: 12.h,left: 12,right: 12),
|
||
|
decoration: BoxDecoration(
|
||
|
color: Colors.white,
|
||
|
borderRadius: BorderRadius.circular(8),
|
||
|
boxShadow: [
|
||
|
BoxShadow(
|
||
|
color: Colors.black.withAlpha(12),
|
||
|
offset: Offset(0, 3),
|
||
|
blurRadius: 14,
|
||
|
spreadRadius: 0,
|
||
|
)
|
||
|
],
|
||
|
),
|
||
|
child: Column(
|
||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||
|
children: [
|
||
|
Row(
|
||
|
children: [
|
||
|
Expanded(child: Text(
|
||
|
"我的3月足迹日历",
|
||
|
style: TextStyle(
|
||
|
color: Color(0xFF0D0D0D),
|
||
|
fontWeight: MyFontWeight.semi_bold,
|
||
|
fontSize: 15.sp,
|
||
|
),
|
||
|
),),
|
||
|
Text(
|
||
|
"查看绿叶",
|
||
|
style: TextStyle(
|
||
|
color: Color(0xFF000000),
|
||
|
fontWeight: MyFontWeight.regular,
|
||
|
fontSize: 15.sp,
|
||
|
),
|
||
|
),
|
||
|
Icon(
|
||
|
Icons.navigate_next,
|
||
|
size: 24,
|
||
|
color: Colors.black,
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
SizedBox(height: 12,)
|
||
|
],
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|