Drawer constructor

  1. @Goto(_i1.Drawer.new)
Drawer(
  1. $ $config, {
  2. Key? key,
  3. Color? backgroundColor,
  4. double? elevation,
  5. Color? shadowColor,
  6. Color? surfaceTintColor,
  7. ShapeBorder? shape,
  8. double? width,
  9. Widget? child,
  10. String? semanticLabel,
  11. Clip? clipBehavior,
})

Implementation

@Goto(_i1.Drawer.new)
Drawer(
  $ $config, {
  _i2.Key? key,
  ui.Color? backgroundColor,
  double? elevation,
  ui.Color? shadowColor,
  ui.Color? surfaceTintColor,
  _i3.ShapeBorder? shape,
  double? width,
  _i4.Widget? child,
  String? semanticLabel,
  ui.Clip? clipBehavior,
}) : super(
        Argument({
          #key: key,
          #backgroundColor: backgroundColor,
          #elevation: elevation,
          #shadowColor: shadowColor,
          #surfaceTintColor: surfaceTintColor,
          #shape: shape,
          #width: width,
          #child: child,
          #semanticLabel: semanticLabel,
          #clipBehavior: clipBehavior,
        }),
        builder: (args) => _i1.Drawer(
          key: args(#key),
          backgroundColor: args(#backgroundColor),
          elevation: args(#elevation),
          shadowColor: args(#shadowColor),
          surfaceTintColor: args(#surfaceTintColor),
          shape: args(#shape),
          width: args(#width),
          child: args(#child),
          semanticLabel: args(#semanticLabel),
          clipBehavior: args(#clipBehavior),
        ),
      );