const
Widget.magnifier(- {Key? key,
- @Default(Offset.zero) Offset additionalFocalPointOffset,
- @Default(BorderRadius.all(Radius.circular(40))) BorderRadius borderRadius,
- @Default(Color.fromARGB(8, 158, 158, 158)) Color filmColor,
- @Default([BoxShadow(blurRadius: 1.5, offset: Offset(0, 2), spreadRadius: 0.75, color: Color.fromARGB(25, 0, 0, 0))]) List<BoxShadow> shadows,
- @Default(Size(77.37, 37.9)) Size size}
)
Implementation
const factory Widget.magnifier({
Key? key,
@Default(Offset.zero)
Offset additionalFocalPointOffset,
@Default(BorderRadius.all(Radius.circular(40)))
BorderRadius borderRadius,
@Default(Color.fromARGB(8, 158, 158, 158))
Color filmColor,
@Default([
BoxShadow(
blurRadius: 1.5,
offset: Offset(0, 2),
spreadRadius: 0.75,
color: Color.fromARGB(25, 0, 0, 0))
])
List<BoxShadow> shadows,
@Default(Size(77.37, 37.9))
Size size,
}) = Magnifier;