Skip to content

TechStroke

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

  • Flutter
  • C++
  • About Us

flutter-lists

How to convert String to List in Flutter

On July 26, 2020February 20, 2021 by Siddhant Badola

There are cases when we need to break down the string into smaller parts and store them individually.We can achieve this by simply passing the .split() function to the string.Syntax for this looks like:- Here <String variable> is variable of type String and <separator> is...

How to reverse a list in Flutter

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

To reverse a list in Flutter, you can simply use a function in Dart called reversed. The syntax to reverse lists in Flutter is: Remember to add .toList() after reversed so that the function returns a List. Without .toList(), the function will return a Iterable....

Recent Comments

    Categories

    • C++
    • Flutter
    • MySQL
    Copyright © TechStroke