perbaikan on possale string 1
This commit is contained in:
@@ -9,7 +9,7 @@ import 'package:mobile_pos/generated/l10n.dart' as lang;
|
||||
import 'package:nb_utils/nb_utils.dart';
|
||||
|
||||
import '../../GlobalComponents/glonal_popup.dart';
|
||||
import '../../constant.dart';
|
||||
import '../../constant.dart' as mainConstant;
|
||||
import '../../currency.dart';
|
||||
import '../../widgets/empty_widget/_empty_widget.dart';
|
||||
import '../Customers/Provider/customer_provider.dart';
|
||||
@@ -35,7 +35,7 @@ class _PurchaseContactsState extends State<PurchaseContacts> {
|
||||
return businessInfo.when(data: (details) {
|
||||
return GlobalPopup(
|
||||
child: Scaffold(
|
||||
backgroundColor: kWhite,
|
||||
backgroundColor: mainConstant.kWhite,
|
||||
resizeToAvoidBottomInset: true,
|
||||
appBar: AppBar(
|
||||
backgroundColor: Colors.white,
|
||||
@@ -60,7 +60,7 @@ class _PurchaseContactsState extends State<PurchaseContacts> {
|
||||
hintText: lang.S.of(context).search,
|
||||
prefixIcon: Icon(
|
||||
Icons.search,
|
||||
color: kGreyTextColor.withOpacity(0.5),
|
||||
color: mainConstant.kGreyTextColor.withOpacity(0.5),
|
||||
),
|
||||
),
|
||||
onChanged: (value) {
|
||||
@@ -116,7 +116,7 @@ class _PurchaseContactsState extends State<PurchaseContacts> {
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
'$currency${customer[index].due}',
|
||||
'$currency${mainConstant.formatWithSeparator(customer[index].due ?? 0)}',
|
||||
style: _theme.textTheme.bodyMedium?.copyWith(
|
||||
fontSize: 16.0,
|
||||
),
|
||||
@@ -178,13 +178,13 @@ class _PurchaseContactsState extends State<PurchaseContacts> {
|
||||
}),
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
backgroundColor: kMainColor,
|
||||
backgroundColor: mainConstant.kMainColor,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
),
|
||||
child: const Icon(
|
||||
Icons.add,
|
||||
color: kWhite,
|
||||
color: mainConstant.kWhite,
|
||||
),
|
||||
onPressed: () async {
|
||||
const AddParty().launch(context);
|
||||
|
||||
Reference in New Issue
Block a user