Drawer constructor
Drawer(
- $ $config, {
- Key? key,
- Color? backgroundColor,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- ShapeBorder? shape,
- double? width,
- Widget? child,
- String? semanticLabel,
- 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),
),
);