-
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 Flutterf: 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 versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Use case
The Checkbox and Radio widget have fixed sizes that might be too small in some cases, also depending on the overall UI design. An UI with usual icon buttons of the standard size might want to use the same size for these controls as well, especially if they appear near to each other.
Proposal
The suggestion is to add a scale variable to both CheckboxThemeData and RadioThemeData and pass them through to the actual widgets. Individual checkboxes can be manually scaled as:
Transform.scale(scale: 2, child: Checkbox() ...
but this won't help CheckboxListTile where the size remains the same. Changing the underlying widget to use this scaling approach would solve that, too.
maheshj01, VictorUvarov, evandrmb, AlexFox63, lisamartin00 and 8 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 Flutterf: 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 versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team