Skip to content

Instantly share code, notes, and snippets.

View foxanna's full-sized avatar
💭
👩‍💻💙📱🇺🇦

Anna Leushchenko foxanna

💭
👩‍💻💙📱🇺🇦
View GitHub Profile
class Translations implements i69n.I69nMessageBundle {
const Translations();
String passwordLengthValidationError(int length) =>
"The password should be at least $length characters long";
}
flutter packages pub run build_runner watch --delete-conflicting-outputs
class Translations implements i69n.I69nMessageBundle {
const Translations();
String get greetings => "Hello, world!";
}
using System.Linq;
using Xamarin.Forms;
namespace <project>.Effects
{
public class RoundCornersEffect : RoutingEffect
{
public RoundCornersEffect() : base($"<project>.{nameof(RoundCornersEffect)}")
{
}
using System;
using System.ComponentModel;
using System.Diagnostics;
using Android.Graphics;
using Android.Views;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using <project>.Effects;
using <project>.Droid.Effects;
using System;
using System.ComponentModel;
using System.Diagnostics;
using CoreAnimation;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using <project>.Effects;
using <project>.iOS.Effects;
[assembly: ResolutionGroupName("<project>")]
using System.Net;
...
public interface IProxyInfoProvider
{
WebProxy GetProxySettings();
}
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
...
public class HttpService
{
private readonly IProxyInfoProvider _proxyInfoProvider;
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
...
public class HttpService
{
private readonly HttpClient _httpClient;