returnActiveToolCard method

  1. @override
Widget returnActiveToolCard()
override

Implementation

@override
Widget returnActiveToolCard() {
  return BaseCardToolTemplate(
      isActive: true,
      cardIcon: badgeIcon,
      toolPrompt: templatePrompt,
      toolChildren: [
        const SizedBox(height: 10.0),
        BodyOneText(
            'Press each colorful dot to disable it, and to move forward.',
            decorationPriority.standard),
        const SizedBox(height: 20.0),
        _PulseMapCard(),
        const SizedBox(height: 10.0),
        const DividerElement(),
        const SizedBox(height: 20.0),
        Row(
            crossAxisAlignment: CrossAxisAlignment.center,
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              const Spacer(),
              SmolButtonElement(
                  decorationVariant: decorationPriority.important,
                  buttonTitle: 'Next',
                  buttonHint: 'Goes to the next card',
                  buttonAction: () => {onNextCard()}),
            ]),
      ]);
}