replace: swap prosappweb content for prosapp_web_app (more complete version)
prosapp_web_app has chat, dashboard, calendar, support, 13 providers and Fluro URL routing. Keep Dockerfile + nginx.conf from previous prosappweb. Upgrade google_fonts 6.2.1 → 8.1.0 (Dart 3.12 compat fix). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
74a4f41902
commit
15175c1b91
@@ -0,0 +1,59 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class CustomInputs {
|
||||
static InputDecoration loginInputDecoration({
|
||||
required String hint,
|
||||
required String label,
|
||||
required IconData icon,
|
||||
}) {
|
||||
return InputDecoration(
|
||||
border: OutlineInputBorder(
|
||||
borderSide: BorderSide(color: Colors.black.withOpacity(0.3)),
|
||||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(color: Colors.black.withOpacity(0.3)),
|
||||
),
|
||||
hintText: hint,
|
||||
labelText: label,
|
||||
prefixIcon: Icon(icon, color: Colors.grey),
|
||||
labelStyle: const TextStyle(color: Colors.grey),
|
||||
hintStyle: const TextStyle(color: Colors.grey),
|
||||
);
|
||||
}
|
||||
|
||||
static InputDecoration searchInputDecoration({
|
||||
required String hint,
|
||||
required IconData icon,
|
||||
}) {
|
||||
return InputDecoration(
|
||||
enabledBorder: InputBorder.none,
|
||||
border: InputBorder.none,
|
||||
hintText: hint,
|
||||
prefixIcon: Icon(icon, color: Colors.grey),
|
||||
labelStyle: const TextStyle(color: Colors.grey),
|
||||
hintStyle: const TextStyle(color: Colors.grey),
|
||||
);
|
||||
}
|
||||
|
||||
static InputDecoration formInputDecoration({
|
||||
required String hint,
|
||||
required String label,
|
||||
required IconData icon,
|
||||
IconButton? iconButton,
|
||||
}) {
|
||||
return InputDecoration(
|
||||
border: OutlineInputBorder(
|
||||
borderSide: BorderSide(color: Colors.indigo.withOpacity(0.3)),
|
||||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(color: Colors.indigo.withOpacity(0.3)),
|
||||
),
|
||||
hintText: hint,
|
||||
labelText: label,
|
||||
prefixIcon: Icon(icon, color: Colors.grey),
|
||||
suffixIcon: iconButton,
|
||||
labelStyle: const TextStyle(color: Colors.grey),
|
||||
hintStyle: const TextStyle(color: Colors.grey),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user