Sharpnado.MaterialFrame.Maui 2.0.0

dotnet add package Sharpnado.MaterialFrame.Maui --version 2.0.0                
NuGet\Install-Package Sharpnado.MaterialFrame.Maui -Version 2.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sharpnado.MaterialFrame.Maui" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sharpnado.MaterialFrame.Maui --version 2.0.0                
#r "nuget: Sharpnado.MaterialFrame.Maui, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sharpnado.MaterialFrame.Maui as a Cake Addin
#addin nuget:?package=Sharpnado.MaterialFrame.Maui&version=2.0.0

// Install Sharpnado.MaterialFrame.Maui as a Cake Tool
#tool nuget:?package=Sharpnado.MaterialFrame.Maui&version=2.0.0                

Sharpnado.MaterialFrame

Supported platforms
✔️ Android
✔️ iOS
❓ macOS
✔️ UWP

Initialization

  • In MauiProgram.cs:
public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();
    builder
        .UseMauiApp<App>()
        .UseSharpnadoMaterialFrame(loggerEnable: false)
        ...
}

Mac Catalyst has not been tested yet

But it should be working 😃 ?

Android Compatibility issues

Warning, because of LayerDrawable the Acrylic glow effect (the white glow on the top of the MaterialFrame is only available on API 23+ (since Marshmallow).

iOS limitations

For some yet to be discovered reasons, AcrylicBlur value doesn't work in a dynamic context on iOS.

You can change the BlurStyle dynamically, but a dynamic change from a not blurry theme to the AcrylicBlur theme will result in a transparent frame.

Presentation

The Xamarin.Forms MaterialFrame aims at delivering out of the box modern popular theming such as:

  • Light
  • Dark
  • Acrylic
  • AcrylicBlur

You can switch from one theme to another thanks to the MaterialFrame property.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-android33.0 is compatible.  net7.0-ios was computed.  net7.0-ios16.1 is compatible.  net7.0-maccatalyst was computed.  net7.0-maccatalyst16.1 is compatible.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net7.0-windows10.0.19041 is compatible.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 8,463 1/5/2024

First MAUI release \o/