Flutter Theming Quiz

Flutter Theming Quiz

Professional Development

9 Qs

quiz-placeholder

Similar activities

PowerPoint 2019 Exam

PowerPoint 2019 Exam

Professional Development

10 Qs

PowerPoint Exam

PowerPoint Exam

Professional Development

10 Qs

HTML y CSS 2

HTML y CSS 2

Professional Development

10 Qs

MSWORD 1ST DAY REVISION(3RD PHASE)

MSWORD 1ST DAY REVISION(3RD PHASE)

Professional Development

10 Qs

Latihan HTML

Latihan HTML

12th Grade - Professional Development

10 Qs

Flutter Maps

Flutter Maps

Professional Development

7 Qs

HTML

HTML

KG - Professional Development

8 Qs

Tin học văn phòng

Tin học văn phòng

Professional Development

10 Qs

Flutter Theming Quiz

Flutter Theming Quiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Yunesh Shrestha

Used 1+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What property of ThemeData is used to switch between light and dark mode in a Flutter app?

brightness

mode

themeMode

colorScheme

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which package is commonly used to apply custom Google Fonts in a Flutter project?

flutter_fonts

custom_fonts

google_fonts

text_fonts

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a custom large headline style in the theme?

TextTheme(largeText: ...)

TextTheme(headlineLarge: TextStyle(...))

ThemeData(textLarge: ...)

FontTheme(text: ...)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly applies the CedarvilleCursive font to a widget's text?

TextStyle(fontFamily: CedarvilleCursive)

style: GoogleFonts.cedarvilleCursive()

fontStyle: CedarvilleCursive.text()

font: GoogleFonts.Cedarville()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to generate a color scheme from a seed color in Flutter?

ColorScheme.lightFrom()

ThemeData.seedColor()

ColorScheme.fromSeed()

ColorScheme.generate()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is the global theme set in a Flutter app?

Inside Scaffold

Inside AppBar

Inside MaterialApp

Inside WidgetBuilder

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you access the current TextTheme from the BuildContext?

TextTheme.of(context)

ThemeData.textTheme

Theme.of(context).textTheme

Text.of(context).theme

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid value for Brightness in Flutter?

Bright

Light

Dark

Both B and C

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about using Google Fonts in Flutter?

You must manually download and add font files.

Google Fonts are not supported in Flutter.

You can use the google_fonts package to apply fonts directly in TextStyle.

Fonts must be declared in pubspec.yaml only.