Steps constructor

const Steps({
  1. Key? key,
  2. required List<Widget> children,
})

Creates a Steps widget.

Each child widget represents one step in the sequence and will be displayed with an automatically numbered circular indicator.

Parameters:

  • children (List

Example:

Steps(
  children: [
    Text('First step content'),
    Text('Second step content'),
    Text('Third step content'),
  ],
)

Implementation

const Steps({
  super.key,
  required this.children,
});