child property
The color to use for the drawer background. Typically this should be set
along with brightness
.
If this is null, then ThemeData.primaryColor is used.
The brightness of the drawer. Typically this is set along
with backgroundColor
, backgroundGradient
.
If this is null, then ThemeData.primaryColorBrightness
is used.
This is where you should attach your main application widget
Implementation
//final Color backgroundColor;
/// The brightness of the drawer. Typically this is set along
/// with [backgroundColor], [backgroundGradient].
///
/// If this is null, then [ThemeData.primaryColorBrightness] is used.
//final Brightness brightness;
/// This is where you should attach your main application widget
final Widget child;