FlutterMaterial constructor

  1. @FreezedUnionValue.new(FlutterMaterial.unionValue)
FlutterMaterial({
  1. @cN FlutterKey? key,
  2. @cN AnyWidget? child,
  3. double? elevation,
  4. FlutterColor? color,
  5. FlutterColor? shadowColor,
  6. FlutterTextStyle? textStyle,
  7. @cN FlutterBorderRadiusGeometry? borderRadius,
  8. @cN FlutterShapeBorder? shape,
  9. bool? borderOnForeground,
  10. 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;