-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listgood first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsplatform-webWeb applications specificallyWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Steps to reproduce
- Create a Container with a linear gradient in a BoxDecoration (not contrasted)
- Run it on different platforms
Expected results
Supposed to be smooth on each platform.
Example :
Actual results
On Android, iOS, Windows, it looks smooth.
On the web, it shows visible steps.
Code sample
Code sample
Container(
decoration: BoxDecoration(
gradient : LinearGradient(
colors: const [
Color(0xff324958),
Color(0xff26323a),
],
begin: Alignment.bottomLeft,
end: Alignment.topRight
)
),
//child: ...
)
Screenshots or Video
Logs
No response
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.29.3, on Microsoft Windows [version 10.0.26100.3915], locale fr-FR)
[√] Windows Version (11 Professionnel 64-bit, 24H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.3)
[√] Android Studio (version 2024.3.2)
[√] IntelliJ IDEA Community Edition (version 2025.1)
[√] VS Code (version 1.96.4)
[√] Connected device (2 available)
[√] Network resourcesMetadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listgood first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsplatform-webWeb applications specificallyWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team


