const
Material(- {Key? key,
- MaterialType type,
- double elevation,
- Color? color,
- Color? shadowColor,
- Color? surfaceTintColor,
- TextStyle? textStyle,
- BorderRadius? borderRadius,
- ShapeBorder? shape,
- bool borderOnForeground,
- Clip clipBehavior,
- Duration animationDuration,
- Widget? child}
)
Implementation
const factory Material(
{final Key? key,
final MaterialType type,
final double elevation,
final Color? color,
final Color? shadowColor,
final Color? surfaceTintColor,
final TextStyle? textStyle,
final BorderRadius? borderRadius,
final ShapeBorder? shape,
final bool borderOnForeground,
final Clip clipBehavior,
final Duration animationDuration,
final Widget? child}) = _$Material;