Skip to content

Instantly share code, notes, and snippets.

View mahmoudalaa97's full-sized avatar
🏠
Working from home

Mahmoud Alaa mahmoudalaa97

🏠
Working from home
View GitHub Profile
@mahmoudalaa97
mahmoudalaa97 / build-and-release.yml
Created October 16, 2021 11:05
GitHub Actions workflow to build Flutter app and create Release, put this file under `.github/workflows` folder.
on:
push:
branches:
- master
name: Build and Release Apps
jobs:
build:
name: Build Apps
runs-on: macos-latest
@mahmoudalaa97
mahmoudalaa97 / CI.yml
Last active September 27, 2020 04:37
This Code for `GitHub Actions` for run `TEST` and `BUILD` ( ios & android ) version
name: CI
on:
pull_request:
branches:
- master
jobs:
flutter_test:
name: Run flutter test and analyze
runs-on: ubuntu-latest
@mahmoudalaa97
mahmoudalaa97 / marker_generator.dart
Created September 8, 2020 15:58 — forked from itsJoKr/marker_generator.dart
Builds the widget and returns it's bitmap through callback
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;