useScreen method
void
useScreen({})
void useScreen({
// > 568px
Widget Function(Niku)? base,
// 568 - 640px
Widget Function(Niku)? xs,
// 640 - 768px
Widget Function(Niku)? sm,
// 768 - 920px
Widget Function(Niku)? md,
// 920 - 1024px
Widget Function(Niku)? lg,
// > 1024px
Widget Function(Niku)? xl,
})
Implementation
void useScreen({
// > 568px
Widget Function(Niku)? base,
// 568 - 640px
Widget Function(Niku)? xs,
// 640 - 768px
Widget Function(Niku)? sm,
// 768 - 920px
Widget Function(Niku)? md,
// 920 - 1024px
Widget Function(Niku)? lg,
// > 1024px
Widget Function(Niku)? xl,
}) =>
_add(
(w) => NikuScreen(
base: base,
xs: xs,
sm: sm,
md: md,
lg: lg,
xl: xl,
child: w,
),
);