Home Dart

Dart

List Dart

List Dart

List Dart : List type dart : Fixed-length list (list’s length cannot be changed) List<String>fixedList...
Fold Dart

Fold Dart

Fold Dart : reduce can only be used on non-empty collections with functions that returns the same type as the types contained in...
Dart Class To Create Json Encode

Dart Class To Create Json Encode

Dart Class To Create Json Encode : This flutter tutorial post class to crate json. This is mostly use to list of entry...
Json Array Key not Present In Dart

Json Array Key not Present In Dart

Json Array Key not Present In Dart : import 'dart:convert'; var jsonStr = """ { "id": 1, "firstName":...
DART 2.6 2019-11-05

DART 2.6 2019-11-05

DART 2.6 2019-11-05 : Static extension members (extension) Dart 2.6 version is the ‘static extension methods preview’. Declared static...
Interface In Dart

Interface In Dart

Interface In Dart : Class implements interface then it must override every method and instance variable of interface. Dart does not have a...
Static In Dart

Static In Dart

Static In Dart : Static In Dart Static members (functions or properties) are available...
String Remove Extra White Space In Dart

String Remove Extra White Space In Dart

String remove extra white space : String remove extra white spaces at the end of or start of the string.
Regular Expression In Dart

Regular Expression In Dart

Regular Expression In Dart : RegExp _email = new RegExp(r"^(((|d||)+(.(|d||)+)*)|((x22)((((x20|x09)*(x0dx0a))?(x20|x09)+)?((|x21|||)|(\(|))))*(((x20|x09)*(x0dx0a))?(x20|x09)+)?(x22)))@(((|d|)|((|d|)(|d|-|.|_|~|)*(|d|))).)+((|)|((|)(|d|-|.|_|~|)*(|)))$"); RegExp _ipv4Maybe = new RegExp(r'^(d?d?d).(d?d?d).(d?d?d).(d?d?d)$'); RegExp _ipv6 = new RegExp(r'^::|^::1|^({1,4}::?){1,7}({1,4})$'); RegExp...
Comma Separated In Dart

Comma Separated In Dart

Comma Separated In Dart : main(List<String> arguments) { List flutterTopic = ; String commaSeparated = flutterTopic.join(', '); print(commaSeparated ); } /* output: Flutter,...