Skip to content

Instantly share code, notes, and snippets.

View eishon's full-sized avatar

lazy_potato_0_0_ eishon

View GitHub Profile
@eishon
eishon / LifeCycleEventListenerDemo.dart
Created June 16, 2021 06:10
LifeCycleEventListenerDemo
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
class LifecycleEventHandler extends WidgetsBindingObserver {
final AsyncCallback resumeCallBack;
final AsyncCallback suspendingCallBack;
LifecycleEventHandler({
this.resumeCallBack,
this.suspendingCallBack,
@eishon
eishon / PODFILE
Created June 9, 2021 04:33
Podfile in Flutter project for revoking unnecessary permissions
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
@eishon
eishon / #platform_channel_native_screen.txt
Last active May 26, 2021 00:43
Native Screen load using platform channel
Native Screen load using platform channel
@eishon
eishon / #Tree Traversal.txt
Last active May 26, 2021 00:42
Tree Traversal
# Tree Traversal