搜索插件、代码仓与 APP 分类

GitHub 代码仓londonappbrewery/quizzler-flutter

quizzler-flutter

边开发应用边学习编程 - 完整的Flutter开发训练营

quizzler-flutter 项目封面
星标
205
复刻
859
最近推送(UTC)
2023年10月9日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

App Brewery Banner

Quizzler ❓

Our Goal

In this tutorial we will be reviewing Stateful and Stateless Widgets as well as learning about the fundamental building blocks of Object Oriented Programming (OOP) - Classes and Objects.

What you will create

We’re going to make a quiz app that tests your general knowledge. As one of the most popular types of apps on the app stores, you can create your own quiz for other people to enjoy!

Finished App

What you will learn

  • Modularising your code into separate classes.
  • Dart classes and objects.
  • Using class constructors.
  • Extracting Widgets to refactor your code.
  • private and public modifiers in Dart.
  • How to use Dart lists.
  • The difference between var, const and final.

Code Snippet for Project

Question('Some cats are actually allergic to humans', true),
    Question('You can lead a cow down stairs but not up stairs.', false),
    Question('Approximately one quarter of human bones are in the feet.', true),
    Question('A slug\'s blood is green.', true),
    Question('Buzz Aldrin\'s mother\'s maiden name was \"Moon\".', true),
    Question('It is illegal to pee in the Ocean in Portugal.', true),
    Question(
        'No piece of square dry paper can be folded in half more than 7 times.',
        false),
    Question(
        'In London, UK, if you happen to die in the House of Parliament, you are technically entitled to a state funeral, because the building is considered too sacred a place.',
        true),
    Question(
        'The loudest sound produced by any animal is 188 decibels. That animal is the African Elephant.',
        false),
    Question(
        'The total surface area of two human lungs is approximately 70 square metres.',
        true),
    Question('Google was originally called \"Backrub\".', true),
    Question(
        'Chocolate affects a dog\'s heart and nervous system; a few ounces are enough to kill a small dog.',
        true),
    Question(
        'In West Virginia, USA, if you accidentally hit an animal with your car, you are free to take it home to eat.',
        true),

This is a companion project to The App Brewery's Complete Flutter Development Bootcamp, check out the full course at www.appbrewery.co

End Banner

London App Brewery GitHub avatar
GitHub 作者

London App Brewery ↗

The Best Programming School in the World

语言DartObjective-CJava

使用的依赖

依赖清单 3 项

  • flutter{"sdk":"flutter"}
  • cupertino_icons^0.1.2
  • flutter_test开发依赖{"sdk":"flutter"}

所在榜单

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗