[go: nahoru, domu]

Skip to content
View debkanchan's full-sized avatar
💙
in a relationship with @flutter and @firebase
💙
in a relationship with @flutter and @firebase

Organizations

@ride-app
Block or Report

Block or report debkanchan

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. RegEx for Latitude and Longitude RegEx for Latitude and Longitude
    1
    # Regular Expression(RegExp) for Latitude and Longitude
    2
    
                  
    3
    ## Just Latitude:
    4
    `^-?([0-8]?[0-9]|90)(\.[0-9]{1,10})$`
    5
    
                  
  2. Get Promised return type of an async... Get Promised return type of an async function in TypeScript
    1
    type PromisedReturnType<T extends (...args: any) => any> = T extends (...args: any[]) => PromiseLike<infer R> ? R : any
    2
    
                  
    3
    //usage
    4
    async function f1() {
    5
      return "Value";
  3. 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';",
  4. Flutter Riverpod Snippets Flutter Riverpod Snippets
    1
    {
    2
    	"Hook Widget": {
    3
    		"prefix": "hookw",
    4
    		"body": [
    5
    			"class ${1:WidgetName} extends HookWidget {",
  5. Flutter/Dart Google Maps API encoded... Flutter/Dart Google Maps API encoded polyline decoder
    1
    List _decode(String input) {
    2
        var list=input.codeUnits;
    3
        List lList = new List();
    4
        int index=0;
    5
        int len=input.length;