Skip to content

Icon shadow is not rendering properly in ios/android. #187341

Description

@drmirk

Steps to reproduce

After 3.44 update, icon shadow is not rendering properly (only in mobile). In desktop (macOS) it is working as expected. In previous stable, it was working perfectly in both mobile & desktop.

Expected results

Image

Actual results

Image

Code sample

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const App());
}

class App extends StatefulWidget {
  const App({super.key});

  @override
  State<App> createState() => _AppState();
}

class _AppState extends State<App> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Row(mainAxisAlignment: .center, children: getStar()),
        ),
      ),
    );
  }

  List<Widget> getStar() {
    final stars = <Widget>[];
    for (int i = 0; i < 1; ++i) {
      stars.add(
        const Icon(
          Icons.star,
          color: Colors.amberAccent,
          shadows: [
            Shadow(
              color: Colors.black45,
              blurRadius: 16,
              offset: Offset(-1, 2),
            ),
          ],
        ),
      );
    }
    return stars;
  }
}

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.44.0, on macOS 15.7.8 24G806 darwin-arm64, locale en-US) [862ms]
    • Flutter version 3.44.0 on channel stable at /Users/drmirk/Library/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 559ffa3f75 (2 weeks ago), 2026-05-15 14:13:13 -0700
    • Engine revision 4c525dac5e
    • Dart version 3.12.0
    • DevTools version 2.57.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop,
      enable-android, enable-ios, cli-animations, enable-native-assets, enable-swift-package-manager,
      omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [1,616ms]
    • Android SDK at /Users/drmirk/Library/Android/sdk
    • Emulator version 36.5.11.0 (build_id 15261927) (CL:N/A)
    • Platform android-36.1, build-tools 36.1.0
    • ANDROID_HOME = /Users/drmirk/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.10+-117844308-b1163.108)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 26.3) [1,566ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 17C529
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [5ms]
    • CHROME_EXECUTABLE = /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Connected device (3 available) [6.4s]
    • iOS Dev (wireless) (mobile) • 00008110-0012658134D1401E • ios            • iOS 26.5 23F77
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 15.7.8 24G806
      darwin-arm64
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome
      149.0.7827.54

[✓] Network resources [1,585ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listc: renderingUI glitches reported at the engine/skia or impeller rendering levelengineflutter/engine related. See also e: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions