QuestionStep class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

QuestionStep({bool isOptional = false, String buttonText = 'Next', StepIdentifier? stepIdentifier, bool showAppBar = true, String title = '', String text = '', Widget content = const SizedBox.shrink(), required AnswerFormat answerFormat})
QuestionStep.fromJson(Map<String, dynamic> json)
factory

Properties

answerFormat AnswerFormat
final
buttonText String?
finalinherited
canGoBack bool
finalinherited
content Widget
final
hashCode int
The hash code for this object.
no setterinherited
isOptional bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAppBar bool
finalinherited
showProgress bool
finalinherited
stepIdentifier StepIdentifier
finalinherited
text String
final
title String
final

Methods

createView({required QuestionResult? questionResult}) Widget
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object o) bool
The equality operator.
inherited