# Conflicts:
#	lib/ui/home/home_page.dart
hmxc
张萌 4 years ago
commit b791b9aa7a

1
.gitignore vendored

@ -39,3 +39,4 @@ app.*.symbols
# Obfuscation related # Obfuscation related
app.*.map.json app.*.map.json
resource.dart

@ -4,13 +4,4 @@ A new Flutter application.
## Getting Started ## Getting Started
This project is a starting point for a Flutter application. ### 使用`fgen`生成图片
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@ -0,0 +1,4 @@
class UserInfoModel {
String nickName;
String avatarPath;
}

@ -1,10 +1,18 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
// //
class UserProvider extends ChangeNotifier{ class UserProvider extends ChangeNotifier{
bool _isSigned=false; bool _isSigned=false;
///
get isSigned=>_isSigned; get isSigned=>_isSigned;
///
setisSigned (bool state){ setisSigned (bool state){
_isSigned=state; _isSigned=state;
notifyListeners(); notifyListeners();
} }
} }

@ -0,0 +1,61 @@
import 'package:aku_community_manager/style/app_style.dart';
import 'package:aku_community_manager/tools/widget_tool.dart';
import 'package:aku_community_manager/ui/widgets/common/aku_back_button.dart';
import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:aku_community_manager/tools/screen_tool.dart';
class ApplicationPage extends StatefulWidget {
ApplicationPage({Key key}) : super(key: key);
@override
_ApplicationPageState createState() => _ApplicationPageState();
}
class _ApplicationPageState extends State<ApplicationPage> {
@override
Widget build(BuildContext context) {
return AkuScaffold(
appBar: AppBar(
brightness: Brightness.light,
elevation: 0,
backgroundColor: Colors.white,
leading: SizedBox(
width: 89.w,
child: AkuBackButton(),
),
titleSpacing: 0,
title: Container(
margin: EdgeInsets.only(right: 37.w),
padding: EdgeInsets.symmetric(horizontal: 32.w),
height: 72.w,
child: Row(
children: [
Image.asset(
R.ASSETS_HOME_IC_SEARCH_PNG,
height: 40.w,
width: 40.w,
),
AkuBox.w(16),
Text(
'搜索应用',
style: TextStyle(
color: AppStyle.minorTextColor,
fontSize: 28.sp,
),
),
],
),
decoration: BoxDecoration(
color: Color(0xFFF9F9F9),
borderRadius: BorderRadius.circular(8.w),
),
),
),
body: Column(
children: [],
),
);
}
}

@ -1,13 +1,16 @@
import 'package:aku_community_manager/provider/user_provider.dart'; import 'package:aku_community_manager/provider/user_provider.dart';
import 'package:aku_community_manager/style/app_style.dart'; import 'package:aku_community_manager/style/app_style.dart';
import 'package:aku_community_manager/tools/screen_tool.dart'; import 'package:aku_community_manager/tools/screen_tool.dart';
import 'package:aku_community_manager/tools/widget_tool.dart'; import 'package:aku_community_manager/tools/widget_tool.dart';
import 'package:aku_community_manager/ui/home/messages/message.dart'; import 'package:aku_community_manager/ui/home/messages/message.dart';
import 'package:aku_community_manager/ui/home/application/applications_page.dart';
import 'package:aku_community_manager/ui/home/personal_draw.dart'; import 'package:aku_community_manager/ui/home/personal_draw.dart';
import 'package:aku_community_manager/ui/tool_pages/scan_page.dart'; import 'package:aku_community_manager/ui/tool_pages/scan_page.dart';
import 'package:aku_ui/aku_ui.dart'; import 'package:aku_ui/aku_ui.dart';
import 'package:aku_ui/common_widgets/aku_material_button.dart'; import 'package:aku_ui/common_widgets/aku_material_button.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
@ -19,14 +22,18 @@ class HomePage extends StatefulWidget {
_HomePageState createState() => _HomePageState(); _HomePageState createState() => _HomePageState();
} }
//bar class _HomePageState extends State<HomePage> {
Widget _menuButton(IconData iconData, String text, Widget page) { //bar
return AkuButton( Widget _menuButton(IconData iconData, String text, Widget page) {
return Expanded(
child: AkuButton(
radius: 8.w,
height: 75.w + 8.w + 33.w, height: 75.w + 8.w + 33.w,
onPressed: () { onPressed: () {
Get.to(page); Get.to(page);
}, },
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Icon( Icon(
iconData, iconData,
@ -43,12 +50,14 @@ Widget _menuButton(IconData iconData, String text, Widget page) {
) )
], ],
), ),
),
); );
} }
// //
Widget _card(String number, String text, Color color) { Widget _card(String number, String text, Color color) {
return AkuButton( return AkuButton(
radius: 8.w,
onPressed: () {}, onPressed: () {},
color: Color(0xFFFFFFFF), color: Color(0xFFFFFFFF),
child: Container( child: Container(
@ -63,7 +72,10 @@ Widget _card(String number, String text, Color color) {
Text( Text(
number, number,
style: TextStyle( style: TextStyle(
color: color, fontSize: 40.sp, fontStyle: FontStyle.italic), color: color,
fontSize: 40.sp,
fontFamily: 'Bebas',
),
), ),
SizedBox( SizedBox(
height: 16.w, height: 16.w,
@ -77,15 +89,23 @@ Widget _card(String number, String text, Color color) {
], ],
)), )),
); );
} }
@override
void initState() {
super.initState();
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
));
}
class _HomePageState extends State<HomePage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final userProvider = Provider.of<UserProvider>(context); final userProvider = Provider.of<UserProvider>(context);
ScreenUtil.init(context, ScreenUtil.init(context,
designSize: Size(750, 1334), allowFontScaling: true); designSize: Size(750, 1334), allowFontScaling: true);
return Scaffold( return AnnotatedRegion<SystemUiOverlayStyle>(
child: Scaffold(
drawer: PersonalDraw(), drawer: PersonalDraw(),
backgroundColor: Color(0xFFF9F9F9), backgroundColor: Color(0xFFF9F9F9),
//bar //bar
@ -103,7 +123,8 @@ class _HomePageState extends State<HomePage> {
Color(0xFFFFC40C), Color(0xFFFFC40C),
], ],
), ),
borderRadius: BorderRadius.only(bottomRight: Radius.circular(32.w)), borderRadius:
BorderRadius.only(bottomRight: Radius.circular(32.w)),
), ),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
@ -120,10 +141,10 @@ class _HomePageState extends State<HomePage> {
width: 72.w, width: 72.w,
height: 72.w, height: 72.w,
// //
child: Builder(builder: (BuildContext context) { child: Builder(
return AkuRoundButton( builder: (BuildContext context) {
height: 72.w, return GestureDetector(
onPressed: () { onTap: () {
Scaffold.of(context).openDrawer(); Scaffold.of(context).openDrawer();
}, },
child: CircleAvatar( child: CircleAvatar(
@ -132,18 +153,20 @@ class _HomePageState extends State<HomePage> {
child: userProvider.isSigned ? null : null, child: userProvider.isSigned ? null : null,
), ),
); );
})), },
),
),
SizedBox(width: 16.w), SizedBox(width: 16.w),
Expanded( Expanded(
child: Container( child: Container(
margin: EdgeInsets.only(top: 8.w, bottom: 8.w), margin: EdgeInsets.only(top: 8.w, bottom: 8.w),
alignment: Alignment.center, alignment: Alignment.center,
height: 72.w, height: 72.w,
padding: EdgeInsets.only(left: 21.w),
child: AkuButton( child: AkuButton(
// //
color: Color(0xFFFFFFFF), color: Color(0xFFFFFFFF),
onPressed: () {}, onPressed: () {},
radius: 8.w,
child: Row(children: [ child: Row(children: [
Container( Container(
child: Column( child: Column(
@ -181,9 +204,10 @@ class _HomePageState extends State<HomePage> {
Get.to(ScanPage()); Get.to(ScanPage());
}, },
child: Column(children: [ child: Column(children: [
Icon( Image.asset(
Icons.access_alarm, R.ASSETS_HOME_IC_SCAN_PNG,
size: 48.w, height: 48.w,
width: 48.w,
), ),
Text( Text(
'扫一扫', '扫一扫',
@ -202,13 +226,12 @@ class _HomePageState extends State<HomePage> {
minWidth: 78.w, minWidth: 78.w,
// //
height: double.infinity, height: double.infinity,
onPressed: () { onPressed: () {},
Get.to(Message());
},
child: Column(children: [ child: Column(children: [
Icon( Image.asset(
Icons.access_time, R.ASSETS_HOME_IC_NEWS_PNG,
size: 48.w, height: 48.w,
width: 48.w,
), ),
Text( Text(
'消息', '消息',
@ -240,17 +263,20 @@ class _HomePageState extends State<HomePage> {
SizedBox(height: 16.w), SizedBox(height: 16.w),
Container( Container(
margin: EdgeInsets.only(left: 32.w, right: 32.w), margin: EdgeInsets.only(left: 32.w, right: 32.w),
padding: EdgeInsets.only(top: 24.w),
color: Color(0xFFFFFFFF),
width: double.infinity, width: double.infinity,
height: 163.w, height: 163.w,
decoration: BoxDecoration(
color: Color(0xFFFFFFFF),
borderRadius: BorderRadius.circular(8.w),
),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround, mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [ children: [
_menuButton(Icons.wysiwyg, '一键报警', HomePage()), _menuButton(Icons.wysiwyg, '一键报警', HomePage()),
_menuButton(Icons.work, '访客管理', HomePage()), _menuButton(Icons.work, '访客管理', HomePage()),
_menuButton(Icons.accessibility, '报事报修', HomePage()), _menuButton(Icons.accessibility, '报事报修', HomePage()),
_menuButton(Icons.account_balance, '全部应用', HomePage()), _menuButton(
Icons.account_balance, '全部应用', ApplicationPage()),
], ],
), ),
), ),
@ -359,7 +385,10 @@ class _HomePageState extends State<HomePage> {
// //
Container( Container(
width: double.infinity, width: double.infinity,
// height: 333.w, decoration: BoxDecoration(
borderRadius: BorderRadius.circular(8.w),
color: Colors.white,
),
child: Column( child: Column(
children: [ children: [
Row( Row(
@ -387,6 +416,8 @@ class _HomePageState extends State<HomePage> {
), ),
], ],
), ),
),
value: SystemUiOverlayStyle.dark,
); );
} }
} }

@ -1,3 +1,4 @@
import 'package:aku_community_manager/provider/user_provider.dart'; import 'package:aku_community_manager/provider/user_provider.dart';
import 'package:aku_community_manager/style/app_style.dart'; import 'package:aku_community_manager/style/app_style.dart';
import 'package:aku_community_manager/ui/login/login_page.dart'; import 'package:aku_community_manager/ui/login/login_page.dart';
@ -18,17 +19,19 @@ class PersonalDraw extends StatefulWidget {
} }
class _PersonalDrawState extends State<PersonalDraw> { class _PersonalDrawState extends State<PersonalDraw> {
Widget _myListTile(IconData iconData, String text, {VoidCallback onPressed}) { Widget _myListTile(String path, String text, {VoidCallback onPressed}) {
return AkuButton( return AkuButton(
onPressed: onPressed, onPressed: onPressed,
child: Container( child: Container(
width: double.infinity,
height: 96.w, height: 96.w,
padding: EdgeInsets.only(left: 32.w, top: 28.w, bottom: 28.w), padding: EdgeInsets.only(left: 32.w),
child: Row(children: [ child: Row(
Icon( crossAxisAlignment: CrossAxisAlignment.center,
iconData, children: [
size: 40.w, Image.asset(
path,
width: 40.w,
height: 40.w,
), ),
SizedBox(width: 16.w), SizedBox(width: 16.w),
Text( Text(
@ -38,7 +41,8 @@ class _PersonalDrawState extends State<PersonalDraw> {
fontSize: 28.sp, fontSize: 28.sp,
), ),
), ),
]), ],
),
), ),
); );
} }
@ -46,7 +50,9 @@ class _PersonalDrawState extends State<PersonalDraw> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final userProvider = Provider.of<UserProvider>(context); final userProvider = Provider.of<UserProvider>(context);
return Drawer( return SizedBox(
width: 465.w,
child: Drawer(
child: ListView( child: ListView(
children: [ children: [
SizedBox( SizedBox(
@ -110,7 +116,7 @@ class _PersonalDrawState extends State<PersonalDraw> {
), ),
), ),
_myListTile( _myListTile(
Icons.contact_page, R.ASSETS_USER_IC_PERSON_PNG,
'个人信息', '个人信息',
onPressed: () { onPressed: () {
userProvider.isSigned userProvider.isSigned
@ -118,12 +124,13 @@ class _PersonalDrawState extends State<PersonalDraw> {
: Get.to(LoginPage()); : Get.to(LoginPage());
}, },
), ),
_myListTile(Icons.supervised_user_circle, '联系客服'), _myListTile(R.ASSETS_USER_IC_KEFU_PNG, '联系客服'),
_myListTile(Icons.settings, '设置', onPressed: () { _myListTile(R.ASSETS_USER_IC_SETUP_PNG, '设置', onPressed: () {
Get.to(SettingsPage()); Get.to(SettingsPage());
}), }),
], ],
), ),
),
); );
} }
} }

@ -2,12 +2,16 @@ import 'dart:ui';
import 'package:aku_community_manager/style/app_style.dart'; import 'package:aku_community_manager/style/app_style.dart';
import 'package:aku_community_manager/tools/widget_tool.dart'; import 'package:aku_community_manager/tools/widget_tool.dart';
import 'package:aku_community_manager/ui/login/login_sms_page.dart';
import 'package:aku_community_manager/ui/widgets/common/aku_back_button.dart'; import 'package:aku_community_manager/ui/widgets/common/aku_back_button.dart';
import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart'; import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:aku_ui/common_widgets/aku_material_button.dart'; import 'package:aku_ui/common_widgets/aku_material_button.dart';
import 'package:common_utils/common_utils.dart';
import 'package:extended_text/extended_text.dart'; import 'package:extended_text/extended_text.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:aku_community_manager/tools/screen_tool.dart'; import 'package:aku_community_manager/tools/screen_tool.dart';
import 'package:get/route_manager.dart';
class LoginPage extends StatefulWidget { class LoginPage extends StatefulWidget {
LoginPage({Key key}) : super(key: key); LoginPage({Key key}) : super(key: key);
@ -17,20 +21,34 @@ class LoginPage extends StatefulWidget {
} }
class _LoginPageState extends State<LoginPage> { class _LoginPageState extends State<LoginPage> {
TextEditingController _textController = TextEditingController();
bool get phoneValid {
return RegexUtil.isMobileSimple(_textController.text);
}
bool get emptyText {
return TextUtil.isEmpty(_textController.text);
}
@override
void dispose() {
_textController?.dispose();
super.dispose();
}
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return AkuScaffold( return AkuScaffold(
backgroundColor: Colors.white, backgroundColor: Colors.white,
leading: AkuBackButton.close(), leading: AkuBackButton.close(),
body: ListView( body: ListView(
children: [ padding: EdgeInsets.symmetric(
Padding( vertical: 40.w,
padding: EdgeInsets.only( horizontal: 32.w,
top: 40.w,
bottom: 184.w,
left: 32.w,
), ),
child: Text( children: [
Text(
'欢迎登录小蜜蜂', '欢迎登录小蜜蜂',
style: TextStyle( style: TextStyle(
color: AppStyle.primaryTextColor, color: AppStyle.primaryTextColor,
@ -38,24 +56,41 @@ class _LoginPageState extends State<LoginPage> {
fontSize: 48.sp, fontSize: 48.sp,
), ),
), ),
), AkuBox.h(184),
Padding( Text(
padding: EdgeInsets.symmetric(horizontal: 32.w),
child: Text(
'手机号码', '手机号码',
style: TextStyle( style: TextStyle(
color: AppStyle.primaryTextColor, color: AppStyle.primaryTextColor,
fontSize: 24.sp, fontSize: 24.sp,
), ),
), ),
),
Container( Container(
padding: EdgeInsets.symmetric(horizontal: 32.w),
width: double.infinity, width: double.infinity,
child: TextField( child: TextField(
autofocus: true, autofocus: true,
controller: _textController,
onChanged: (text) {
setState(() {});
},
keyboardType: TextInputType.phone, keyboardType: TextInputType.phone,
decoration: InputDecoration( decoration: InputDecoration(
suffixIconConstraints: BoxConstraints(
minHeight: 0,
minWidth: 0,
),
suffixIcon: emptyText
? SizedBox()
: GestureDetector(
onTap: () {
_textController.clear();
setState(() {});
},
child: Icon(
CupertinoIcons.clear_circled_solid,
size: 30.w,
color: Color(0xFF999999),
),
),
border: UnderlineInputBorder( border: UnderlineInputBorder(
borderSide: BorderSide( borderSide: BorderSide(
color: Color(0xFFE8E8E8), color: Color(0xFFE8E8E8),
@ -75,10 +110,22 @@ class _LoginPageState extends State<LoginPage> {
Padding( Padding(
padding: EdgeInsets.symmetric(horizontal: 32.w), padding: EdgeInsets.symmetric(horizontal: 32.w),
child: AkuMaterialButton( child: AkuMaterialButton(
color: AppStyle.minorColor, color: AppStyle.primaryColor,
onPressed: () {}, onPressed: phoneValid
? () => Get.off(LoginSMSPage(phone: _textController.text))
: null,
nullColor: Color(0xFFFFE67D),
radius: 8.w, radius: 8.w,
child: Text('获取验证码'), child: Text(
'获取验证码',
style: TextStyle(
color: phoneValid
? AppStyle.primaryTextColor
: AppStyle.minorTextColor,
fontSize: 32.sp,
fontWeight: FontWeight.bold,
),
),
), ),
), ),
], ],

@ -0,0 +1,126 @@
import 'dart:async';
import 'package:aku_community_manager/provider/user_provider.dart';
import 'package:aku_community_manager/style/app_style.dart';
import 'package:aku_community_manager/tools/widget_tool.dart';
import 'package:aku_community_manager/ui/home/home_page.dart';
import 'package:aku_community_manager/ui/widgets/common/aku_back_button.dart';
import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:aku_ui/common_widgets/aku_material_button.dart';
import 'package:flutter/material.dart';
import 'package:aku_community_manager/tools/screen_tool.dart';
import 'package:get/get.dart';
import 'package:pin_input_text_field/pin_input_text_field.dart';
import 'package:provider/provider.dart';
class LoginSMSPage extends StatefulWidget {
final String phone;
LoginSMSPage({Key key, this.phone}) : super(key: key);
@override
_LoginSMSPageState createState() => _LoginSMSPageState();
}
class _LoginSMSPageState extends State<LoginSMSPage> {
TextEditingController _textEditingController = TextEditingController();
int _count = 60;
Timer _countTimer;
bool get canResend => _count <= 0;
String get countString {
if (_count <= 0)
return '';
else
return '$_count\s';
}
startTick() {
_count = 60;
_countTimer = Timer.periodic(Duration(seconds: 1), (timer) {
if (_count >= 0)
_count--;
else {
_countTimer?.cancel();
}
setState(() {});
});
}
@override
void initState() {
super.initState();
startTick();
}
@override
void dispose() {
_textEditingController?.dispose();
_countTimer?.cancel();
super.dispose();
}
@override
Widget build(BuildContext context) {
return AkuScaffold(
backgroundColor: Colors.white,
leading: AkuBackButton(),
body: ListView(
padding: EdgeInsets.symmetric(
horizontal: 32.w,
vertical: 40.w,
),
children: [
Text(
'请输入短信验证码',
style: TextStyle(
color: AppStyle.primaryTextColor,
fontWeight: FontWeight.bold,
fontSize: 48.sp,
),
),
AkuBox.h(16),
Text(
'已向${widget.phone}发送了一个验证码',
style: TextStyle(
color: AppStyle.primaryTextColor,
fontSize: 24.sp,
),
),
AkuBox.h(160),
PinInputTextField(
controller: _textEditingController,
autoFocus: true,
decoration: UnderlineDecoration(
lineHeight: 1.w,
colorBuilder: FixedColorBuilder(Color(0xFFE8E8E8)),
),
onChanged: (text) {
final userProvider =
Provider.of<UserProvider>(context, listen: false);
if (text == '000000') {
userProvider.setisSigned(true);
Get.offAll(HomePage());
}
},
),
AkuBox.h(40),
Row(
children: [
AkuMaterialButton(
onPressed: canResend ? () => startTick() : null,
child: Text(
'重新发送 $countString',
style: TextStyle(
color: canResend
? AppStyle.secondaryColor
: AppStyle.minorTextColor,
fontSize: 28.sp,
),
),
),
],
),
],
),
);
}
}

@ -65,7 +65,8 @@ class _AkuScaffoldState extends State<AkuScaffold> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
backgroundColor: widget.backgroundColor, backgroundColor: widget.backgroundColor,
appBar: AppBar( appBar: widget.appBar ??
AppBar(
backgroundColor: widget.appBarColor, backgroundColor: widget.appBarColor,
leading: widget.leading ?? AkuBackButton(), leading: widget.leading ?? AkuBackButton(),
brightness: widget.brightness, brightness: widget.brightness,

@ -6,7 +6,7 @@ packages:
description: description:
path: "." path: "."
ref: HEAD ref: HEAD
resolved-ref: e57b6920e49f325c041fac955e1f3297dc9f1d09 resolved-ref: "89d1e665c372461ed87be46c9227377b305050b2"
url: "http://test.akuhotel.com:8099/aku_fe/aku_ui.git" url: "http://test.akuhotel.com:8099/aku_fe/aku_ui.git"
source: git source: git
version: "0.0.1" version: "0.0.1"
@ -66,6 +66,27 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.15.0-nullsafety.3" version: "1.15.0-nullsafety.3"
common_utils:
dependency: "direct main"
description:
name: common_utils
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.2.1"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.1"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.5"
cupertino_icons: cupertino_icons:
dependency: "direct main" dependency: "direct main"
description: description:
@ -73,6 +94,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.0" version: "1.0.0"
decimal:
dependency: transitive
description:
name: decimal
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.3.5"
extended_text: extended_text:
dependency: "direct main" dependency: "direct main"
description: description:
@ -153,6 +181,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.8.0-nullsafety.1" version: "1.8.0-nullsafety.1"
pin_input_text_field:
dependency: "direct main"
description:
name: pin_input_text_field
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.1.1"
provider: provider:
dependency: "direct main" dependency: "direct main"
description: description:
@ -167,6 +202,13 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.0.13" version: "0.0.13"
rational:
dependency: transitive
description:
name: rational
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.3.8"
sky_engine: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter

@ -44,6 +44,10 @@ dependencies:
extended_text: ^4.0.0 extended_text: ^4.0.0
common_utils: ^1.2.1
#验证码
pin_input_text_field: ^3.1.1
aku_ui: aku_ui:
git: git:
url: http://test.akuhotel.com:8099/aku_fe/aku_ui.git url: http://test.akuhotel.com:8099/aku_fe/aku_ui.git
@ -61,6 +65,10 @@ flutter:
# included with your application, so that you can use the icons in # included with your application, so that you can use the icons in
# the material Icons class. # the material Icons class.
uses-material-design: true uses-material-design: true
assets:
- assets/
- assets/home/
- assets/user/
# To add assets to your application, add an assets section, like this: # To add assets to your application, add an assets section, like this:
# assets: # assets:
# - images/a_dot_burr.jpeg # - images/a_dot_burr.jpeg
@ -74,12 +82,10 @@ flutter:
# "family" key with the font family name, and a "fonts" key with a # "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For # list giving the asset and other descriptors for the font. For
# example: # example:
# fonts: fonts:
# - family: Schyler - family: Bebas
# fonts: fonts:
# - asset: fonts/Schyler-Regular.ttf - asset: assets/fonts/BebasNeue-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro # - family: Trajan Pro
# fonts: # fonts:
# - asset: fonts/TrajanPro.ttf # - asset: fonts/TrajanPro.ttf

Loading…
Cancel
Save