FlutterMaterial constructor
- @FreezedUnionValue.new(FlutterMaterial.unionValue)
FlutterMaterial(
{ - @cN FlutterKey? key,
- @cN AnyWidget? child,
- double? elevation,
- FlutterColor? color,
- FlutterColor? shadowColor,
- FlutterTextStyle? textStyle,
- @cN FlutterBorderRadiusGeometry? borderRadius,
- @cN FlutterShapeBorder? shape,
- bool? borderOnForeground,
- FlutterClip? clipBehavior,
})
Implementation
@FreezedUnionValue(FlutterMaterial.unionValue)
factory FlutterMaterial({
@FlutterKey.cN FlutterKey? key,
@AnyWidget.cN AnyWidget? child,
double? elevation,
FlutterColor? color,
FlutterColor? shadowColor,
FlutterTextStyle? textStyle,
@FlutterBorderRadiusGeometry.cN FlutterBorderRadiusGeometry? borderRadius,
@FlutterShapeBorder.cN FlutterShapeBorder? shape,
bool? borderOnForeground,
FlutterClip? clipBehavior,
// Duration animationDuration = kThemeChangeDuration,
}) = _FlutterMaterial;