# Trivia game example
A simple trivia game built with Flutter and the [frideos](https://pub.dartlang.org/packages/frideos) package.
Article on Medium.com here: https://medium.com/flutter-community/flutter-how-to-build-a-quiz-game-596d0f369575
Alternative version using the [rebuilder](https://pub.dartlang.org/packages/rebuilder) package [here](https://github.com/frideosapps/trivia_rebuilder).
**features**:
- State management
- Streams and BLoC pattern
- Dynamic theme changer
- Settings page
- Switchable quiz API (mock questions or quiz from https://opentdb.com/)
- Json data (fetching and parsing)
- Animations
- Text shadows
### Packages used:
- [Frideos-flutter](https://pub.dartlang.org/packages/frideos)
## Screenshots
![AnimatedGif](screenshots/anim.gif)
![Screenshot](screenshots/1.png)
![Screenshot](screenshots/2.png)
![Screenshot](screenshots/3.png)
![Screenshot](screenshots/4.png)
没有合适的资源?快使用搜索试试~ 我知道了~
一个使用 Flutter 和 frideos 包构建 的简单琐事游戏_Dart_代码_下载
共81个文件
png:27个
dart:22个
xml:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 76 浏览量
2022-06-24
22:55:36
上传
评论
收藏 1.99MB ZIP 举报
温馨提示
特点: 状态管理 流和 BLoC 模式 动态主题转换器 设置页面 可切换的测验 API(来自https://opentdb.com/的模拟问题或测验) Json 数据(获取和解析) 动画 文字阴影 效果展示: https://github.com/frideosapps/trivia_example/blob/master/screenshots/1.png 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
trivia_example-master.zip (81个子文件)
trivia_example-master
ios
Runner.xcworkspace
contents.xcworkspacedata 152B
Flutter
Debug.xcconfig 30B
Release.xcconfig 30B
AppFrameworkInfo.plist 773B
Runner
Assets.xcassets
AppIcon.appiconset
LaunchImage.imageset
main.m 226B
AppDelegate.h 103B
AppDelegate.m 424B
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 2KB
Info.plist 1KB
Runner.xcodeproj
project.xcworkspace
contents.xcworkspacedata 152B
project.pbxproj 21KB
xcshareddata
xcschemes
Runner.xcscheme 3KB
android
gradle.properties 29B
app
src
main
res
mipmap-xxxhdpi
ic_launcher.png 1KB
drawable
launch_background.xml 434B
mipmap-hdpi
ic_launcher.png 544B
values
styles.xml 361B
mipmap-xxhdpi
ic_launcher.png 1KB
mipmap-mdpi
ic_launcher.png 442B
mipmap-xhdpi
ic_launcher.png 721B
java
com
example
triviaex
MainActivity.java 365B
AndroidManifest.xml 2KB
build.gradle 2KB
gradle
wrapper
gradle-wrapper.properties 234B
settings.gradle 484B
build.gradle 470B
analysis_options.yaml 5KB
test
widget_test.dart 1KB
screenshots
1.png 35KB
anim.gif 1.84MB
2.png 45KB
4.png 21KB
3.png 39KB
.metadata 306B
LICENSE 1KB
.gitignore 1KB
pubspec.yaml 2KB
lib
src
models
trivia_stats.dart 594B
appstate.dart 5KB
question.dart 1KB
models.dart 361B
category.dart 198B
theme.dart 440B
homepage.dart 2KB
screens
main_page.dart 4KB
settings_page.dart 9KB
trivia_page.dart 5KB
summary_page.dart 3KB
API
api_interface.dart 393B
trivia_api.dart 2KB
mock_api.dart 2KB
styles.dart 2KB
blocs
trivia_bloc.dart 5KB
widgets
summaryanswer_widget.dart 2KB
answers_widget.dart 6KB
question_widget.dart 876B
countdown_widget.dart 2KB
main.dart 1KB
README.md 907B
共 81 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Pytorch-pytorch深度学习教程之深度残差网络.zip
- Pytorch-pytorch深度学习教程之循环神经网络.zip
- Pytorch-pytorch深度学习教程之逻辑回归.zip
- Pytorch-pytorch深度学习教程之双向循环网络.zip
- Pytorch-pytorch深度学习教程之卷积神经网络.zip
- Pytorch-pytorch深度学习教程之前馈神经网络.zip
- Pytorch-pytorch深度学习教程之线性回归.zip
- Pytorch-pytorch深度学习教程之基本操作.zip
- 基于QT的地图可视化桌面系统后台数据库为MySQL5.7源码.zip
- 基于simulink的PLL锁相环系统仿真【包括模型,文档,参考文献,操作步骤】
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功