Home Blog Page 3

7 Tips to get a High Paying 💰 Flutter Job in 2023

0
7 tips to get high paying flutter job

1. Gain expertise in Flutter:-

Of Course you get a higher paying job in flutter you need to develop your flutter skill, you need to build a strong core foundation in the Flutter framework and have the skills to use it to construct sophisticated and cross platform applications.

2. Learn Flutter concepts:-

Start understanding flutter state management, widget in depth and recommended practices UI for creating & testing Flutter apps. Once you’ve finished, learn how to create platform-specific plugins, such as using native Bluetooth and cameras. for this you need to master fundamentals of Swift and Kotlin languages.

3. Build a portfolio of Flutter projects:-

Showcase your flutter development skill & abilities by building portfolio flutter project to show yourself as potential employee. Here are few flutter project to build your flutter skill, and also contribute yourself into any open source projects to demonstrate your programming knowledge.

4. Enhance your skill set:-

Consider learning relevant technologies and frameworks in addition to Flutter so you may become a more valuable and sought-after candidate. Things like Dart, the programming language used in Flutter, or Android/iOS development may fall under this.

5. Network & seek out opportunities:-

Start talking to developer who have mastered in Flutter, build a strong relationship within flutter community that will help you in sharing/learning from other developer experiences and can also help you to learn about job openings & other opportunities. Consider joining attending meetups & conferences to connect with other Flutter developers.

6. Tailor your resume and cover letter:-

Make sure to customise your resume and cover letter when applying for a Flutter position to highlight your Flutter knowledge and experience. Include any pertinent projects you’ve worked on, as well as any pertinent school work or contributions to open source.

7. Subscribe to Proto Coders Point:-

https://www.youtube.com/@ProtoCodersPoint

JavaScript – Check whether a variable type is an array or not

0
JavaScript Check Array isArray

In JavaScript Array is basically an Object, but I want check exactly whether the given variable is Array or not.

When you make use of typeof to identify the Variable type on array, it always return an object, because in JavaScript array is a special type of object.

To solve this Issue, In 2009 new method is introduced, that is Array.isArray(), it takes an array as an argument and returns Boolean(true/false)

in addition to this, we can use instanceof operator, it returns true if an object is created by a given constructor.

Example To check JavaScript Variable is array or not

const arrData = [4,3,1,5,6,7,3,1];

console.log(arrData)

console.log(typeof arrData);  // object

console.log(Array.isArray(arrData));   // true

for…in object javascript & for..of array javascript with example

0
loop in javascript

In JavaScript Language, We can iterate through an enumerable properties of an given object by using for...in loop. This loop will go through each element execute a block of code in the object.

for…in object javascript

Syntax

for (const key in object) {
  console.log(`${key}: ${object[key]}`);
}

Below is an example on How to use for...in loop to iterate the properties in an object {}:

const obj = {
  name: "Rajat",
  age: 27,
  country: "India"
};

for (const prop in obj) {
  console.log(`${prop}: ${obj[prop]}`);
}

Output of above code:

name: Rajat
age: 27
country: India

Here the for...in loop is similar to that of for...of loop, which is used to iterate over the values of an iterable object, For Example an array. But Note that, the for...in loop iterates over the properties of an object, while the for...of loop iterates over the values.

Here for..in loop will iterate the properties of the object and print the key and value of each property in the object defined.

for..of array javascript

Below is an example on how to make use of for...of loop to iterate value of an array:

const arr = [5, 2, 1, 3, 4];

for (const value of arr) {
  console.log(value);
}

This will output the following:

5
2
1
3
4

Mastering the Basics of Flutter Development building this 5 app

0
App To build To Develop Flutter Skill

Calculator App in flutter

Build a simple Calculator app in flutter with good UI, This flutter practice will help you in building your mathematics and logical skill.

Calculator App in flutter
Calculator App in flutter

Tic Tac Toe Game

Making a Tic Tac Toe Game, or any other basic game with very simple rules like tic tac toe with small animations effect included within will help you in building games logic and make app attractive.

tic tac toe game app flutter
tic tac toe game app flutter

Stopwatch App

Build an Stopwatch App in flutter, you will learn time related concepts.

flutter stopwatch app practice
flutter stopwatch app practice

Reminder App

Reminder App by which user can easily keep an note of his task same like sticky notes paper style.

Notes App

A note taking app similar to google keep app.

flutter note app ui

Quiz App

A multiple choice questions based on quiz app, where you can give user to select items to answer the MCQ.

flutter quiz app

didChangeDependencies method in Flutter

0
didChangeDependencies method in Flutter
didChangeDependencies method in Flutter

In Flutter, The didChangeDependencies() override method comes in lifecycle of StatefulWidget. And is been called everytime whenever it see changes in dependencies of StatefulWidget.

For example, Let’s say a StatefulWidget depends on a inherited widget, and due to user event/action the value in inherited widget there is some changes occured, at that momentdidChangeDependencies method will be called to reflect the changes.

Below is a Example on how we can make use of didChangeDependencies in flutter:

class MyWidget extends StatefulWidget {
  @override
  _MyWidgetState createState() => _MyWidgetState();
}

class _MyWidgetState extends State<MyWidget> {
  MyInheritedWidget _inheritedWidget;

  @override
  void didChangeDependencies() {
    _inheritedWidget = MyInheritedWidget.of(context);
    super.didChangeDependencies();
  }

  @override
  Widget build(BuildContext context) {
    // Use the inherited widget here
  }
}

In above example, the _MyWidgetState class is depended onMyInheritedWidget class, that is an inherited widget. basically didChangeDependencies method is used to fetch or detect value changes happens in the inherited widget, so that feather we can make use of it in the build method. Due to some event/action by user, If any value of the inherited widget changes, the didChangeDependencies method will be called immediately again, which make the StatefulWidget to update itself with the new value received in the inherited widget.

Note: It’s very important to call super.didChangeDependencies() at the end of the didChangeDependencies method, as it allows any ancestor widgets to also update their dependencies.

Comparing strings in java

0
Comparing strings in JAVA

In Java Programming language, There are two ways by which we can compare strings in java.

  1. By using equals() method.
  2. By using == operator.

Compare String using equal method in java

We can make use the equals() method to compare two strings. The equals() is an in-built method that is defined in the String class and only returns Boolean value (true/false) which indicating whether the given two strings are equal or not equal.

Below is an Example on How to use equals() method to compare two strings:

String str1 = "hello";
String str2 = "hello";

if (str1.equals(str2)) {
    System.out.println("The strings are equal.");
} else {
    System.out.println("The strings are not equal.");
}

Compare String using == operator in java

An Alternatively way, we can use the == operator to compare two strings. But note that this == will compares the references of the two strings rather than the contents of the strings themselves. As a result, it may not always produce the desired result.

Here’s an example of how to use the == operator to compare two strings:

String str1 = "hello";
String str2 = "hello";

if (str1 == str2) {
    System.out.println("The strings are equal.");
} else {
    System.out.println("The strings are not equal.");
}

In most of cases it is recommended to better use equals() method for comparing strings in java, because it always compares the contents instead of references.

Recommended Book