-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
I think it would be nice for Flutter to adopt the Clover / Scallop / Sunflower shape from Android 12 / M3.
It could be a custom OutlinedBorder with custom math like this: https://stackoverflow.com/a/25840319
You probably have access to the Android 12 source code, so that could also be helpful.
Figma uses three pieces of information:
- pointCount (number of spikes, 5 for a star)
- innerRadius (%, if it should grow inside or outside)
- cornerRadius
This is a widget that feels heavy to use, but when you need it is really nice to have. I would love to see in the framework.
rydmike, iapicca, Maatteogekko, md-weber, Altevir and 23 more
Metadata
Metadata
Assignees
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version

