wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Flutter Dart Assessment

Total questions: 26

Worksheet time: 26mins

Name
Class
Date
1.

In Flutter, it is a way to declare and construct UI..

a)

Property

b)

Scaffold

c)

BuildContext

d)

Widget

2.

In order to use class or widgets from the other dart file, the import method must be inintialize first.

a)

True

b)

False

3.

This file is written in YAML, which is human readable, but be aware that white space (tabs v spaces) matters.

a)

pubspec

b)

dart

c)

php

d)

json

4.

It is a client-optimized language for developing fast apps on any platform. Its goal is to offer the most productive programming language for multi-platform development, paired with a flexible execution runtime platform for app frameworks.

a)

Flutter

b)

Dart

c)

PHP

d)

JSON

5.

This function takes the given Widget and makes it the root of the widget tree.

a)

main()

b)

runApp()

c)

build()

d)

MaterialApp()

6.

This flex widget let you create flexible layout in horizontal.

a)

Column()

b)

Center()

c)

Row()

d)

Scaffold()

7.

This flex widget let you create flexible layout in vertical.

a)

Column()

b)

Center()

c)

Row()

d)

Scaffold()

8.

This widget never changes.

a)

Stateless

b)

Scaffold

c)

Container

d)

Stateful

9.

This widget is dynamic.

a)

Stateless

b)

Scaffold

c)

Container

d)

Stateful

10.

Datatype that holds number from 0-9.

a)

int

b)

bool

c)

String

d)

float

11.

This data type can hold only two values, the true or false.

a)

int

b)

bool

c)

String

d)

float

12.

The correct syntax to import material.dart is

import 'package:fluter/material.dart';

a)

True

b)

False

13.

home: can be a property of Scaffold() widget.

a)

true

b)

false

14.

A function that any Button() widget must have is

a)

onTapped:(){}

b)

onMouseHover:(){}

c)

onPressed:(){}

d)

child:

15.

Property that the Column() or Rows() widget must have.

a)

childern:[ ]

b)

child:

c)

children:[]

d)

return();

16.

A widget property to design Text() widget.

a)

style:

b)

decoration:

c)

fontStyle:

d)

color:

17.

A widget property that can hold multiple widgets.

a)

children: [ ]

b)

child: [ ]

c)

Column()

d)

Row()

18.

A widget that will help the layout not to overflow content is?

a)

Column()

b)

SingleChildScrollView()

c)

Row()

d)

Card()

19.

The Syntax below is the proper way to construct a class

class ClassName extends StatefulWidget{ }

a)

True

b)

False

20.

In flutter development a semi-colon symbol is used to separate widgets.

a)

True

b)

False

21.

It is the first function that the dart compiler executed first.

a)

void main()

b)

runApp()

c)

home()

d)

return()

22.

Parameters in Dart and PHP is represented by () symbols.

a)

True

b)

False

23.

A widget that can be seen at the top corner of the Material App.

a)

AppBar()

b)

TopNavigationBar()

c)

MaterialApp()

d)

Scaffold()

24.

Imagine that you have sa Dashboard class and you want your program to navigate to it using Navigator. Type the correct syntax for it using push method.

(a)  

25.

Type you fullname in correct format. ie, Lastname, Firstname, Middlename.

4 lines
26.

It is a free and open-source mobile UI framework created by Google and released in May 2017.

a)

Dart Language

b)

Visual Studio

c)

Flutter

d)

Android