Sharpnado.MaterialFrame.Maui
3.0.0
See the version list below for details.
dotnet add package Sharpnado.MaterialFrame.Maui --version 3.0.0
NuGet\Install-Package Sharpnado.MaterialFrame.Maui -Version 3.0.0
<PackageReference Include="Sharpnado.MaterialFrame.Maui" Version="3.0.0" />
<PackageVersion Include="Sharpnado.MaterialFrame.Maui" Version="3.0.0" />
<PackageReference Include="Sharpnado.MaterialFrame.Maui" />
paket add Sharpnado.MaterialFrame.Maui --version 3.0.0
#r "nuget: Sharpnado.MaterialFrame.Maui, 3.0.0"
#:package Sharpnado.MaterialFrame.Maui@3.0.0
#addin nuget:?package=Sharpnado.MaterialFrame.Maui&version=3.0.0
#tool nuget:?package=Sharpnado.MaterialFrame.Maui&version=3.0.0
Sharpnado.MaterialFrame
| Supported platforms |
|---|
| ✔️ Android |
| ✔️ iOS |
| ❓ macOS |
| ✔️ WinUI |
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Sharpnado.TaskMonitor (>= 1.1.0)
-
net9.0-android35.0
- Sharpnado.TaskMonitor (>= 1.1.0)
-
net9.0-ios18.0
- Sharpnado.TaskMonitor (>= 1.1.0)
-
net9.0-maccatalyst18.0
- Sharpnado.TaskMonitor (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Sharpnado.MaterialFrame.Maui:
| Repository | Stars |
|---|---|
|
TheCodeTraveler/GitTrends
A iOS and Android app to monitor the Views, Clones and Star history of your GitHub repos
|
|
|
roubachof/Sharpnado.Shadows
Add as many custom shadows (Color, Offset, Blur, Neumorphism) as you like to any Xamarin.Forms view (Android, iOS, UWP).
|
v3.0.0 - Handler Migration and Android Blur Overhaul
BREAKING CHANGES:
* Migrated all platforms from Renderers to modern MAUI Handlers
* Android: Replaced RenderScript with StackBlur algorithm (fixes Android 15+ crashes)
NEW FEATURES:
* Android: Pure C# StackBlur implementation - works on all Android versions including 15+
* Android: Async background blur processing with double buffering (60 FPS)
* Android: Change detection to skip unnecessary blur processing (0% CPU when static)
* MacCatalyst: Full support with shared iOS handler
IMPROVEMENTS:
* All platforms: Modern handler pattern with PropertyMapper
* Android: UI thread blocking reduced from 22ms to 3ms
* Android: Smooth 60 FPS scrolling with blur
* Better memory management and resource cleanup
* Cleaner, more maintainable codebase
See full migration guide: https://github.com/roubachof/Sharpnado.MaterialFrame