buildByMaterial method

  1. @override
Widget buildByMaterial(
  1. BuildContext context
)

build on material mode

Implementation

@override
Widget buildByMaterial(BuildContext context) {
  return Drawer(
    backgroundColor: valueOf('backgroundColor', backgroundColor),
    shadowColor: valueOf('shadowColor', shadowColor),
    surfaceTintColor: valueOf('surfaceTintColor', surfaceTintColor),
    elevation: valueOf('elevation', elevation),
    shape: valueOf('shape', shape),
    width: valueOf('width', width),
    semanticLabel: valueOf('semanticLabel', semanticLabel),
    clipBehavior: valueOf('clipBehavior', clipBehavior),
    child: valueOf('child', child),
  );
}