Skip to content
Gulam Ali H edited this page Dec 24, 2023 · 13 revisions

Introduction

Welcome to the Wiki of Freaky Controls for Maui.

Maui.FreakyControls is a UiKit for Maui, The repository includes a variety of controls that you can use to create unique and visually stunning user interfaces for your Maui applications. Each control is highly customizable and comes with a set of parameters that allow you to adjust them to your specific needs.

The code for each control is well-documented and easy to understand, making it accessible for both experienced Maui developers and those just starting out. Additionally, the repository includes sample projects that demonstrate how to use each control in your own applications.

Ok, Let's Go!!

Installation

Add the NuGet package or

Run the following command to add NuGet to your .Net MAUI app:

  Install-Package FreakyControls -Version xx.xx.xx

Add the following using statement and then Init the handlers in your MauiProgram:

 using MAUI.FreakyControls.Extensions;
 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.

NOTE: For now all the pickers only have the Image Viewport API and hence the Entry documentation covers that and for now they don't have their separate documentation.