Font size
WorksheetsFlutter Dart Assessment
Total questions: 26
Worksheet time: 26mins
In Flutter, it is a way to declare and construct UI..
Property
Scaffold
BuildContext
Widget
In order to use class or widgets from the other dart file, the import method must be inintialize first.
True
False
This file is written in YAML, which is human readable, but be aware that white space (tabs v spaces) matters.
pubspec
dart
php
json
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.
Flutter
Dart
PHP
JSON
This function takes the given Widget and makes it the root of the widget tree.
main()
runApp()
build()
MaterialApp()
This flex widget let you create flexible layout in horizontal.
Column()
Center()
Row()
Scaffold()
This flex widget let you create flexible layout in vertical.
Column()
Center()
Row()
Scaffold()
This widget never changes.
Stateless
Scaffold
Container
Stateful
This widget is dynamic.
Stateless
Scaffold
Container
Stateful
Datatype that holds number from 0-9.
int
bool
String
float
This data type can hold only two values, the true or false.
int
bool
String
float
The correct syntax to import material.dart is
import 'package:fluter/material.dart';
True
False
home: can be a property of Scaffold() widget.
true
false
A function that any Button() widget must have is
onTapped:(){}
onMouseHover:(){}
onPressed:(){}
child:
Property that the Column() or Rows() widget must have.
childern:[ ]
child:
children:[]
return();
A widget property to design Text() widget.
style:
decoration:
fontStyle:
color:
A widget property that can hold multiple widgets.
children: [ ]
child: [ ]
Column()
Row()
A widget that will help the layout not to overflow content is?
Column()
SingleChildScrollView()
Row()
Card()
The Syntax below is the proper way to construct a class
class ClassName extends StatefulWidget{ }
True
False
In flutter development a semi-colon symbol is used to separate widgets.
True
False
It is the first function that the dart compiler executed first.
void main()
runApp()
home()
return()
Parameters in Dart and PHP is represented by () symbols.
True
False
A widget that can be seen at the top corner of the Material App.
AppBar()
TopNavigationBar()
MaterialApp()
Scaffold()
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)
Type you fullname in correct format. ie, Lastname, Firstname, Middlename.
It is a free and open-source mobile UI framework created by Google and released in May 2017.
Dart Language
Visual Studio
Flutter
Android
