Hello, Flutter freaks. 🙋♂️
All set for the much-awaited
FLUTTER FESTIVAL organized by GDSC MESCOE ?! 🥳🤩
With joyous hearts, we invite you to attend our 4-day hands-on workshop on flutter technologies. 💯💙
The event schedule is going to be as follows..👇
Day 1: Dart Essentials
Day 2: Flutter Essentials
Day 3: Flutter UI and Firebase integration
Day 4: Explore Google Cloud and ML kit
You are expected to attend all 4 days workshop as a part of the Flutter Festival👀
🗓️ Date - 24th to 27th March
🕰️Time - 12pm onwards
🔰Location - Room 518
2. What is Dart?
Dart is a programming language designed for client
development, such as for the web and mobile apps. It is
developed by Google and can also be used to build server and
desktop applications.
3. Relation between Dart and
Flutter:
Dart is the programming language used to code Flutter apps.
Flutter is a framework.
A framework is a tool that provides ready-made components
or solutions that are customized in order to speed up
development.
7. Comments:
Comments can be used to explain Dart code, and to make it
more readable.
One line
// This is a normal, one-line comment.
Multi line
/* Comments like these are also supported. */
10. v
Data Types
List
var flybyObjects = ['Jupiter', 'Saturn', 'Uranus', 'Neptune'];
map
var identifier = { key1:value1, key2:value2
[,…..,key_n:value_n] }
11. Conditional Statements:
●Use if to specify a block of code to be executed, if a specified
condition is true
●Use else to specify a block of code to be executed, if the same
condition is false
●Use else if to specify a new condition to test, if the first
condition is false
12. Operators in Dart:
The operators are special symbols that are used to carry out
certain operations on the operands.
● Arithmetic Operators : + , - , * , / , ~/ , %
● Assignment Operators : =, ??=
● Relational Operators : ==, > , < , >= , <=, !=
● Logical Operators : && , || , !
13. Conditional Statements:
if ( condition1 ){
// body of if
}
else if ( condition2 ){
// body of if
}
else {
// statement
}
14. Loops:
Looping statement in Dart or any other programming
language is used to repeat a certain set of commands until
certain conditions are not completed.
● for loop
● while loop
● do-while loop
15. for (int i = 0; i < 5; i++) {
print('Flutter');
}
while(condition){
text expression;
}
while loop
Loops:
do{
text expression;
}while(condition);
For loop
Do while loop
16. Function:
Functions are the building blocks of readable, maintainable, and
reusable code.
A function is a set of statements to perform a specific task.
Functions organize the program into logical blocks of code.
17. Function:
int add(int a, int b){
int result = a + b;
return result;
}
void main(){
var output = add(10, 20);
print(output);
}
19. Dart – Object Oriented Programming:
In object-oriented programming, a class is a blueprint for
creating objects, providing initial values for state, and
implementations of behavior.
Class
20. An Object is an identifiable entity with some characteristics
and behaviour.
An Object is an instance of a Class.
Objects