-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Title should not be mandatory for Horizontal Stepper step class because label property is already available #134112
Copy link
Copy link
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: 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.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
Currently title is a required pram for stepper class, but if I'm trying to achieve the design same as 'Alternative labels' [material design stepper] (https://m1.material.io/components/steppers.html#steppers-types-of-steppers) then it's not possible because title is required.
And if I'm trying to pass emptywidget as title ,because title is a widget.
title: const SizedBox.shrink(),
even though the title's default margin will be there.
or it can be update like this
_buildHorizontal(){
.
.
Container(
margin: EdgeInsetsDirectional.only(start: widget.steps[i].title != null ? 12.0 : 0),
child: _buildHeaderText(i),
),Proposal
this is very useful if it's implemented
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: 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.team-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team