Pinned Loading
-
RegEx for Latitude and Longitude
RegEx for Latitude and Longitude 1# Regular Expression(RegExp) for Latitude and Longitude
23## Just Latitude:
4`^-?([0-8]?[0-9]|90)(\.[0-9]{1,10})$`
5 -
Get Promised return type of an async...
Get Promised return type of an async function in TypeScript 1type PromisedReturnType<T extends (...args: any) => any> = T extends (...args: any[]) => PromiseLike<infer R> ? R : any
23//usage
4async function f1() {
5return "Value";
-
Flutter/Dart Freezed Snippets
Flutter/Dart Freezed Snippets 1{
2"Freezed Class": {
3"prefix": "frz",
4"body": [
5"import 'package:freezed_annotation/freezed_annotation.dart';",
-
Flutter Riverpod Snippets
Flutter Riverpod Snippets 1{
2"Hook Widget": {
3"prefix": "hookw",
4"body": [
5"class ${1:WidgetName} extends HookWidget {",
-
Flutter/Dart Google Maps API encoded...
Flutter/Dart Google Maps API encoded polyline decoder 1List _decode(String input) {
2var list=input.codeUnits;
3List lList = new List();
4int index=0;
5int len=input.length;
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.