Skip to content

TechStroke

Programming Tutorials – PHP/Python/C++/Java

  • Flutter
  • C++
  • About Us

How to use Hexadecimal color strings in Flutter.

On June 13, 2020June 13, 2020 by Siddhant Badola

By default we get the Colors widget in Flutter which comes with set of predefined material design colors like Grey,Red,Yellow etc. But oftentimes we require custom colors in the UI of our app. We can use the Color method which contains two constructors .fromRGBO() and...

How to reverse a list in Flutter

On June 12, 2020June 12, 2020 by Siddhant Badola

Remember to add .toList() after reversed so that the function returns a List. Without .toList(), the function will return a Iterable. A simple example to reverse a list of integers is given below but you can use it with any List of predefined datatype.

How to navigate flutter pages without context

On June 10, 2020June 10, 2020 by Siddhant Badola

There are certain situations in flutter development when we need to navigate to another page from outside the state widget.In such cases the (BuildContext)context is not available to the programmer and this can make it difficult for the programmer to navigate to the inteded page.For...

Compiling and Linking C++ Program

On May 5, 2020July 13, 2020 by Navneet Kumar

When you write a C++ program, the very next step is to compile the program to generate an executable file. This process of generating executable file from a source code involves 3 main stages. Preprocessor The preprocessor modifies the original source code according to the...

Posts navigation

Previous 1 2

Recent Comments

    Categories

    • C++
    • Flutter
    • MySQL
    Copyright © TechStroke