mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-20 21:48:06 +02:00
fix: resolve all compile errors from Stitch theme merge
- Add missing AppTheme animation constants (durationSm/Md/Lg/Xl, curveSmooth) to satisfy remote widget references. - Replace deprecated GlassContainer(opacity:) with .glass()/.floating()/.base() in login_screen, live_tv_tab, mobile_live_tv_tab, player_screen, dashboard_screen. - Fix const-eval errors by removing const from BorderSide/Text/BoxDecoration using AppColors.focusColor and AppColors.border (runtime getters). - Fix subtitle_service.dart: padEnd → padRight (Dart String API). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
1 parent
60228f5576
commit
b985f11704
7 files changed
+14
-14
No files matched your search
@@ -163,11 +163,10 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
|
||||
const SizedBox(height: 48),
|
||||
|
||||
// Login Form Container
|
||||
GlassContainer(
|
||||
GlassContainer.floating(
|
||||
width: 500,
|
||||
padding: const EdgeInsets.all(48), // Spacious padding
|
||||
borderRadius: 24,
|
||||
opacity: 0.7,
|
||||
child: Form(
|
||||
key: _formKey,
|
||||
child: Column(
|
||||
@@ -332,7 +331,7 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
borderSide: const BorderSide(color: AppColors.focusColor, width: 2),
|
||||
borderSide: BorderSide(color: AppColors.focusColor, width: 2),
|
||||
),
|
||||
contentPadding:
|
||||
const EdgeInsets.symmetric(horizontal: 20, vertical: 20),
|
||||
|
||||
Reference in new issue
Block a user