CompletionStep function
It is uppercase to support previous implementions of the CompletionnStep
Implementation
@Deprecated('Create Step from Step.dart')
// ignore: non_constant_identifier_names
Step CompletionStep({
String? id,
required String title,
required String text,
String? buttonText,
}) =>
Step(
id: id,
content: [
TextContent(
text: title,
fontSize: 22,
),
TextContent(
text: text,
),
const LottieContent(
asset: 'assets/fancy_checkmark.json',
),
],
buttonText: buttonText,
);