Skip to content

Proposal to customize date_picker icons #122840

@MichalNemec

Description

@MichalNemec

Use case

I want to have custom icons in date_picker
date_picker.dart itself has this

entryModeButton = IconButton(
          icon: const Icon(Icons.edit), //hardcoded icon
          color: onPrimarySurface,
          tooltip: localizations.inputDateModeButtonLabel,
          onPressed: _handleEntryModeToggle,
        );

calendar_date_picker has

RotationTransition(
                          turns: _controller,
                          child: Icon(
                            Icons.arrow_drop_down,
                            color: controlColor,
                          ),
                        ),

Proposal

expose these hardcoded icons, so we can change them to our needs.

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: date/time pickerDate or time picker widgetsf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions