-
-
Notifications
You must be signed in to change notification settings - Fork 66
FAQs
iMujtaba Nazki edited this page Nov 29, 2020
·
3 revisions
Can I use the steppers in Landscape mode ?
Yes, absolutely. All steppers have a direction
property that can be set to either Axis.horizontal
or Axis.vertical
. By default, it is set to Axis.horizontal
. Hence, setting the direction
property to Axis.vertical
value displays the steppers in Landscape Mode.
How can I decorate steppers ?
It's easy. All you need to do is to wrap a stepper within a Container
, set and customize it decoration
property and you are all good to go. You can also wrap a stepper within BoxDecoration to achieve the same. Consider the following example:-
Container(
decoration: BoxDecoration(
color: Colors.green,
),
child: IconStepper(),
)