Update: 2026-08-03 11:32:12
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user