-
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 listc: 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 Flutterf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.fyi-text-inputFor the attention of Text Input teamFor the attention of Text Input teamteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Use case
CupertinoTextField(
readOnly: true,
padding: EdgeInsets.symmetric(
horizontal: 16,
vertical: 16 / 2,
),
minLines: 1,
maxLines: 50,
placeholder: 'Placeholder',
suffix: Padding(
padding: EdgeInsets.only(right: 16),
child: DecoratedBox(
decoration: BoxDecoration(
color: CupertinoDynamicColor.resolve(
CupertinoColors.systemBlue,
context,
),
borderRadius: const BorderRadius.all(Radius.circular(30)),
),
child: Padding(
padding: EdgeInsets.symmetric(
horizontal: 16 / 2,
vertical: 10 / 2,
),
child: Text(
'NEW',
style: Theme.of(context).textTheme.labelSmall?.copyWith(
color: CupertinoColors.white,
fontWeight: FontWeight.w600,
fontSize: 12,
height: 1,
),
),
),
),
),
)
Proposal
Change align suffix on top.
Add one property to

Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: 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 Flutterf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.fyi-text-inputFor the attention of Text Input teamFor the attention of Text Input teamteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team