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.
61 lines
1.5 KiB
61 lines
1.5 KiB
1 year ago
|
import 'package:flutter/material.dart';
|
||
|
import 'package:huixiang/utils/font_weight.dart';
|
||
|
import 'package:huixiang/view_widget/my_appbar.dart';
|
||
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||
|
import 'package:intl/intl.dart';
|
||
|
|
||
|
class CashierPage extends StatefulWidget {
|
||
|
final Map<String, dynamic> arguments;
|
||
|
|
||
|
CashierPage({this.arguments});
|
||
|
|
||
|
@override
|
||
|
State<StatefulWidget> createState() {
|
||
|
return _CashierPage();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class _CashierPage extends State<CashierPage> {
|
||
|
|
||
|
@override
|
||
|
void initState() {
|
||
|
super.initState();
|
||
|
}
|
||
|
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Scaffold(
|
||
|
appBar: MyAppBar(
|
||
|
title: "收银",
|
||
|
titleColor: Colors.black,
|
||
|
background: Colors.white,
|
||
|
leadingColor: Colors.black,
|
||
|
brightness: Brightness.dark,
|
||
|
),
|
||
|
body: Column(
|
||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||
|
children: [
|
||
|
Container(
|
||
|
width: double.infinity,
|
||
|
margin: EdgeInsets.only(top:8.h, left: 16.w, right: 16.w),
|
||
|
padding: EdgeInsets.only(top:19.h,bottom: 36.h),
|
||
|
decoration: BoxDecoration(
|
||
|
color: Colors.white,
|
||
|
boxShadow: [
|
||
|
BoxShadow(
|
||
|
color: Color(0x0F06152E),
|
||
|
offset: Offset(0, 2),
|
||
|
blurRadius: 4,
|
||
|
spreadRadius: 0,
|
||
|
)
|
||
|
],
|
||
|
borderRadius: BorderRadius.circular(8),
|
||
|
),
|
||
|
)
|
||
|
],
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|