adaptive_breakpoints_freezed

Creator: coderz1093

Last updated:

0 purchases

adaptive_breakpoints_freezed Image
adaptive_breakpoints_freezed Images

Languages

Categories

Add to Cart

Description:

adaptive breakpoints freezed

material design adaptive_breakpoints with freezed functionality
Features #

Detect current screen size according to material design implementing of it's own break point
Support both material 2 and material 3 design system

Usage #
Check example tab
AdaptiveBuilder(
builder: (context, entry, constraints) {
return entry.type.when(
xs: () {
return Text("xs $_counter");
},
s: () {
return Text("s $_counter");
},
m: () {
return Text("m $_counter");
},
l: () {
return Text("l $_counter");
},
xl: () {
return Text("xl $_counter");
},
);
},
)
copied to clipboard
context.adaptive.maybeWhen(
l: () {
print("large");
},
orElse: () {
print("other sizes")
}
)
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.