Skip to content

Instantly share code, notes, and snippets.


João Palma joaowd

Block or report user

Report or block joaowd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View card.dart
alignment: AlignmentDirectional.centerStart,
children: <Widget>[
top: 0,
bottom: 0,
left: 0,
width: 40,
color: AppColors.darkRedColor,
View slider.dart
return Stack(
children: <Widget>[
child: Align(
alignment: Alignment.centerRight,
child: Padding(
padding: const EdgeInsets.only(top: 5, right: 70),
child: Text(_timeLabel, style: AppTextStyle.label14Grey))
View Android when try to connect to device (full log)
D/PluginScaffold(12964): invoke { channel: com.pycampers.rx_ble, method: requestAccess(), args: null }
I/zygote (12964): Do partial code cache collection, code=19KB, data=30KB
I/zygote (12964): After code cache collection, code=19KB, data=30KB
I/zygote (12964): Increasing code cache capacity to 128KB
D/PluginScaffold(12964): onListen { channel: com.pycampers.rx_ble/scan, args: {scanMode=1, deviceName=null, deviceId=null} }
D/BluetoothAdapter(12964): isLeEnabled(): ON
D/BluetoothLeScanner(12964): onScannerRegistered() - status=0 scannerId=7 mScannerId=0
D/PluginScaffold(12964): invoke { channel: com.pycampers.rx_ble, method: stopScan(), args: null }
D/BluetoothAdapter(12964): isLeEnabled(): ON
D/PluginScaffold(12964): piping exception to flutter (java.lang.RuntimeException)
View iOS error when trying to deploy
CocoaPods' output:
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Finding Podfile changes
A plugin_scaffold
A rx_ble
R flutter_bluetooth_serial
View webservice.cs
using System;
using System.Diagnostics;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using LetterApp.Core.Exceptions;
using LetterApp.Core.Helpers;
View IWebService.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace LetterApp.Core.Services.Interfaces
public interface IWebService
Task<T> GetAsync<T>(string requestUri, CancellationToken ct = default(CancellationToken), bool needsHeaderCheck = true);
Task<T> PostAsync<T>(string resource, object body = null, CancellationToken ct = default(CancellationToken), bool needsHeaderCheck = true);
View exercise.dart
class Exercise {
String code;
String product;
String name;
int system;
int isometric;
int bilateral;
int durationInSeconds;
List<ExerciseExecution> exerciseExecution;
List<EvaluationProtocolExercises> evaluationProtocolExercises;
View Realm Link error
joaowd / Animation Fade
Created May 22, 2018 — forked from aloisdeniel/Animation Fade
Xamarin.iOS view common animations
View Animation Fade
public static void Fade (this UIView view, bool isIn, double duration = 0.3, Action onFinished = null)
var minAlpha = (nfloat)0.0f;
var maxAlpha = (nfloat)1.0f;
view.Alpha = isIn ? minAlpha : maxAlpha;
view.Transform = CGAffineTransform.MakeIdentity ();
UIView.Animate (duration, 0, UIViewAnimationOptions.CurveEaseInOut,
() => {
view.Alpha = isIn ? maxAlpha : minAlpha;
joaowd / gitignore
Created Mar 29, 2018
gitignore for Xamarin
View gitignore
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
## Get latest from
# User-specific files
You can’t perform that action at this time.