11 lines
747 B
Python
11 lines
747 B
Python
import re
|
|
|
|
with open('kifi-app/lib/features/projects/presentation/widgets/add_project_sheet.dart', 'r') as f:
|
|
content = f.read()
|
|
|
|
# Add filled: true, fillColor to DropdownButtonFormField
|
|
content = content.replace("border: OutlineInputBorder(borderRadius: BorderRadius.circular(12)),\n contentPadding:", "border: OutlineInputBorder(borderRadius: BorderRadius.circular(12), borderSide: BorderSide.none),\n filled: true,\n fillColor: Theme.of(context).colorScheme.primary.withValues(alpha: 0.05),\n contentPadding:")
|
|
|
|
with open('kifi-app/lib/features/projects/presentation/widgets/add_project_sheet.dart', 'w') as f:
|
|
f.write(content)
|