Skip to content

Instantly share code, notes, and snippets.

View TheAlphamerc's full-sized avatar
:electron:
React | Next | Node | Flutter | Xamarin

Sonu Sharma TheAlphamerc

:electron:
React | Next | Node | Flutter | Xamarin
View GitHub Profile
@particle4dev
particle4dev / API.md
Created September 17, 2018 12:00 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

@itsJoKr
itsJoKr / marker_generator.dart
Last active July 24, 2024 11:23
Quick way to convert the widget to marker, not supposed to work with images.
import 'package:flutter/material.dart';
import 'dart:typed_data';
import 'package:flutter/rendering.dart';
import 'dart:ui' as ui;
/// This just adds overlay and builds [_MarkerHelper] on that overlay.
/// [_MarkerHelper] does all the heavy work of creating and getting bitmaps
class MarkerGenerator {
final Function(List<Uint8List>) callback;
final List<Widget> markerWidgets;