Challenges SDK for Flutter
This package provides the entire SDK for the Quiz platform for Flutter.
Usage
To use this package, add nudge_quiz
as
a dependency in your pubspec.yaml file.
dependencies:
nudge_quiz: {{version}}
In the Dart code, import the library.
import 'package:nudge_quiz/nudge_quiz.dart';
dd
Add the NudgeQuizUi
widget to the plugins list.
return NudgeProvider(
nudgeInstance: nudge,
plugins: const [
NudgeQuizUi(
)
]
,
...
Libraries
- domain/entities/quizes.entity
- domain/entities/quizresponse.entity
- domain/entities/submit_quiz.entity
- domain/repositories/quizzes.repository
- main
- nudge_quiz
- presentation/bloc/quizes_bloc
- presentation/bloc/quizes_event
- presentation/bloc/quizes_state
- presentation/pages/endScreen
- presentation/pages/logincomponents/login
- presentation/pages/logincomponents/nodatapage
- presentation/pages/quiz_questions
- presentation/pages/rewards
- presentation/widgets/optioncorrect
- presentation/widgets/optionscardresponse
- presentation/widgets/optionscardtoggle
- presentation/widgets/optionswrong
- presentation/widgets/questionstextcontainer
- presentation/widgets/reward_card