Repository navigation
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listcp: stablecherry pick this pull request to stable release candidate branchcherry pick this pull request to stable release candidate branche: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestshas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Steps to reproduce
Run the following minimal reproduction sample (standard Flutter IconButton gallery example)
Expected results
All IconButton variants render with a clean, fully closed circular border as per Material 3 specification.
Actual results
The circular border of IconButton.outlined appears visually broken — the outline is incomplete or clipped, making the button look malformed. This issue is only reproducible with Impeller enabled (default renderer on Android). Running with --no-enable-impeller resolves the issue completely, which suggests this is an Impeller rendering bug.
Code sample
Code sample
import 'package:flutter/material.dart';
/// Flutter code sample for [IconButton].
void main() {
runApp(const IconButtonApp());
}
class IconButtonApp extends StatelessWidget {
const IconButtonApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(colorSchemeSeed: const Color(0xff6750a4)),
title: 'Icon Button Types',
home: const Scaffold(body: ButtonTypesExample()),
);
}
}
class ButtonTypesExample extends StatelessWidget {
const ButtonTypesExample({super.key});
@override
Widget build(BuildContext context) {
return const Padding(
padding: EdgeInsets.all(4.0),
child: Row(
children: <Widget>[
Spacer(),
ButtonTypesGroup(enabled: true),
ButtonTypesGroup(enabled: false),
Spacer(),
],
),
);
}
}
class ButtonTypesGroup extends StatelessWidget {
const ButtonTypesGroup({super.key, required this.enabled});
final bool enabled;
@override
Widget build(BuildContext context) {
final VoidCallback? onPressed = enabled ? () {} : null;
return Padding(
padding: const EdgeInsets.all(4.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
spacing: 10,
children: <Widget>[
IconButton(
icon: const Icon(Icons.filter_drama),
onPressed: onPressed,
),
// Filled icon button
IconButton.filled(
onPressed: onPressed,
icon: const Icon(Icons.filter_drama),
),
// Filled tonal icon button
IconButton.filledTonal(
onPressed: onPressed,
icon: const Icon(Icons.filter_drama),
),
// Outlined text button
OutlinedButton(
onPressed: onPressed,
child: const Icon(Icons.filter_drama),
),
// Outlined icon button
IconButton.outlined(
onPressed: onPressed,
icon: const Icon(Icons.filter_drama),
),
],
),
);
}
}Screenshots or Video
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.41.2, on Ubuntu 24.10 6.11.0-29-generic, locale uk_UA.UTF-8) [57ms]
• Flutter version 3.41.2 on channel stable at
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 90673a4eef (3 дні тому), 2026-02-18 13:54:59 -0800
• Engine revision 6c0baaebf7
• Dart version 3.11.0
• DevTools version 2.54.1
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging,
enable-uiscene-migrationReacted by dom, Khusanboy Tursunov, mono — Masayuki Ono, N and Stanislav
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listcp: stablecherry pick this pull request to stable release candidate branchcherry pick this pull request to stable release candidate branche: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestshas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team

Activity
[-]IconButton.outlined border appears visually broken / clipped on certain devices[/-][+][Impeller] IconButton.outlined border appears visually broken / clipped on certain devices[/+]mbcorona commentedon Feb 23, 2026
Hi @Hladenkyi, thanks for reporting and the code sample.
I was able to reproduce this locally. The circular border of
IconButton.outlinedis malformed when running with the default Impeller renderer, but renders perfectly clean when passing the--no-enable-impellerflag.Labeling team-engine for investigation.
gaaclarke commentedon Mar 2, 2026
@walley892 can you check if these circles are going through the SDF renderer please?
In general these seem like they may just be artifacts from MSAA, maybe?
gaaclarke commentedon Mar 2, 2026
@mbcorona what device were you using when you took the screenshots?
mbcorona commentedon Mar 2, 2026
@gaaclarke Pixel 8 Simulator and physical Samsung Galaxy S10 Android 15, #183002 reported happening on Android 16
gaaclarke commentedon Mar 2, 2026
@mbcorona thanks. So, these sort of artifacts are expected for the Android emulator, because the Android emulator does not have support for MSAA (the antialiasing technique we use on device).
As part of our work to support Impeller better on desktop we will be implementing some techniques to smooth out these drawings. I'd like to take advantage of those techniques on the Android Simulator too. Those issues are tracked mostly in the #183031 issue.
jason-simmons commentedon Mar 2, 2026
Reproduced this on a Pixel 6a.
Confirmed that it started with the circle SDF change (a41146c)
#183083 has another example that shows a similar issue after the SDF commit.
gaaclarke commentedon Mar 3, 2026
The triager has nice pictures of this problem at #183083 (comment)
13 remaining items
mimoguz commentedon Mar 11, 2026
@gaaclarke
Better, less jagged. Still, there’s almost no antialiasing going on I think?
gaaclarke commentedon Mar 11, 2026
Technically there is anti-aliasing via MSAA (except in cases like the android emulator). #183418 will add more with sdfs.
walley892 commentedon Mar 12, 2026
Heyo!
If you're running on an android emulator - there may be no MSAA going on.
I've cooked up #183536 and included screenshots of your initial demo app running with the change - hopefully it looks okay!
Migrated circle sdf to euclidean 2d derivative (flutter#183184)
[CP-beta]Migrated circle sdf to euclidean 2d derivative (#183738)
[CP-stable]Migrated circle sdf to euclidean 2d derivative (#183526)
Add some extra slack room for stroked and filled circles that use the…
Add some extra slack room for stroked and filled circles that use the…
[CP-stable]Add some extra slack room for stroked and filled circles t…
github-actions commentedon Mar 26, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.Migrated circle sdf to euclidean 2d derivative (flutter#183184)
Migrated circle sdf to euclidean 2d derivative (flutter#183184)
Migrated circle sdf to euclidean 2d derivative (#183184)