fix marker rendering & modernize riding widgets for dark mode - 2026-04-11
This commit is contained in:
@@ -62,8 +62,8 @@ class _GlassCard extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(_DC.radius),
|
||||
gradient: LinearGradient(
|
||||
colors: [
|
||||
Colors.white.withOpacity(0.95),
|
||||
Colors.white.withOpacity(0.88),
|
||||
AppColor.secondaryColor.withOpacity(0.95),
|
||||
AppColor.secondaryColor.withOpacity(0.88),
|
||||
],
|
||||
begin: Alignment.topLeft,
|
||||
end: Alignment.bottomRight,
|
||||
@@ -82,7 +82,7 @@ class _GlassCard extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
border: Border.all(
|
||||
color: Colors.white.withOpacity(0.6),
|
||||
color: AppColor.secondaryColor.withOpacity(0.6),
|
||||
width: 1.2,
|
||||
),
|
||||
),
|
||||
@@ -247,7 +247,7 @@ class _SpeakButtonState extends State<_SpeakButton>
|
||||
setState(() => _speaking = true);
|
||||
_pulse.repeat(reverse: true);
|
||||
|
||||
final tts = Get.put(TextToSpeechController());
|
||||
final tts = Get.find<TextToSpeechController>();
|
||||
for (final t in widget.texts) {
|
||||
await tts.speakText(t);
|
||||
}
|
||||
@@ -367,7 +367,7 @@ class MyDialog extends GetxController {
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.w700,
|
||||
letterSpacing: -0.4,
|
||||
color: Colors.black87,
|
||||
color: AppColor.writeColor,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -467,7 +467,7 @@ class MyDialogContent extends GetxController {
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.w700,
|
||||
letterSpacing: -0.3,
|
||||
color: Colors.black87,
|
||||
color: AppColor.writeColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user