This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Translations implements i69n.I69nMessageBundle { | |
const Translations(); | |
String passwordLengthValidationError(int length) => | |
"The password should be at least $length characters long"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flutter packages pub run build_runner watch --delete-conflicting-outputs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Translations implements i69n.I69nMessageBundle { | |
const Translations(); | |
String get greetings => "Hello, world!"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
greetings: Hello, world! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using Xamarin.Forms; | |
namespace <project>.Effects | |
{ | |
public class RoundCornersEffect : RoutingEffect | |
{ | |
public RoundCornersEffect() : base($"<project>.{nameof(RoundCornersEffect)}") | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net; | |
... | |
public interface IProxyInfoProvider | |
{ | |
WebProxy GetProxySettings(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net.Http; | |
using System.Threading; | |
using System.Threading.Tasks; | |
... | |
public class HttpService | |
{ | |
private readonly IProxyInfoProvider _proxyInfoProvider; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net.Http; | |
using System.Threading; | |
using System.Threading.Tasks; | |
... | |
public class HttpService | |
{ | |
private readonly HttpClient _httpClient; |