Update: 2026-08-03 11:32:12

This commit is contained in:
Hamza-Ayed
2026-08-03 11:32:12 +03:00
parent 2b9f696372
commit 0334f9881f
40 changed files with 86899 additions and 84841 deletions
@@ -131,6 +131,7 @@ class _AddInvoicePageState extends State<AddInvoicePage> {
@override
Widget build(BuildContext context) {
final cs = Theme.of(context).colorScheme;
return Scaffold(
backgroundColor: bgColor,
appBar: AppBar(
@@ -222,7 +223,7 @@ class _AddInvoicePageState extends State<AddInvoicePage> {
border: Border.all(
color: _imageFile != null
? primaryColor
: cs.onSurfaceVariant.shade300,
: cs.onSurfaceVariant,
width: 2,
style: _imageFile != null
? BorderStyle.solid
@@ -356,6 +357,7 @@ class _AddInvoicePageState extends State<AddInvoicePage> {
required String hint,
bool isNumber = false,
}) {
final cs = Theme.of(context).colorScheme;
return TextFormField(
controller: controller,
keyboardType: isNumber
@@ -379,7 +381,7 @@ class _AddInvoicePageState extends State<AddInvoicePage> {
),
enabledBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(12),
borderSide: BorderSide(color: cs.onSurfaceVariant.shade200),
borderSide: BorderSide(color: cs.onSurfaceVariant),
),
focusedBorder: OutlineInputBorder(
borderRadius: BorderRadius.circular(12),