Freaky Controls are your usual Maui Controls but with a freaky twist to it :D
Platforms
Support | OS |
---|---|
iOS | iOS 11.0 + |
Android | API 23+ (Marshmallow) |
Documentation
For more details and API documentation check our Wiki
Like what you saw? Want to keep this repo alive?
Previews:
iOS | Android |
---|---|
License
The license for this project can be found here
Installation
Add our NuGet package or
Run the following command to add our Nuget to your .Net MAUI app:
Install-Package FreakyControls -Version xx.xx.xx
Adding FreakyControlsHandlers to your MAUI app:
Add the following using statement and then Init the handlers in your MauiProgram:
using MAUI.FreakyControls.Extensions;
For Version 4.3 and below:
namespace Something;
public static class MauiProgram
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureMauiHandlers(handlers =>
{
handlers.AddFreakyHandlers(); // To Init your freaky handlers for Entry and Editor
});
// This line is needed for the following issue: https://github.com/mono/SkiaSharp/issues/1979
builder.InitSkiaSharp(); // Use this if you want to use FreakySvgImageView
return builder.Build();
}
Post version 4.3:
namespace Samples;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
//Initialization is now a one-liner and the old methods have been deprecated and will be removed in future updates.
//Takes one argument if you would like to init Skiasharp through FreakyControls or not (Used for RadioButton, Checkbox & SVGImageView)
builder.InitializeFreakyControls();
return builder.Build();
}
}
Now you can use the controls in your app.
Activity
Fossa:
Sparkline:
RepoBeats: