Photon constructor
const
Photon(
- Key? key,
- String path, {
- dynamic height = const [0, double.infinity],
- dynamic width = const [0, double.infinity],
- List<
double> margin = const [0, 0, 0, 0], - List<
double> ? radius, - double elevation = 0,
- GestureTapCallback? onTap,
- bool isCircle = false,
- BorderSide border = BorderSide.none,
- Widget? child,
Implementation
const Photon(
Key? key,
this.path, {
this.height = const [0, double.infinity],
this.width = const [0, double.infinity],
this.margin = const [0, 0, 0, 0],
this.radius,
this.elevation = 0,
this.onTap,
this.isCircle = false,
this.border = BorderSide.none,
this.child,
}) : super(key: key);