samples icon indicating copy to clipboard operation
samples copied to clipboard

Mini-drop duplicated code

Open borisovcode opened this issue 3 years ago • 2 comments

  Widget createScreenFor(int screenIndex, bool showNavBarExample) {
    switch (screenIndex) {
      // duplicated code for "default" case
      case 0:
        return ComponentScreen(showNavBottomBar: showNavBarExample);
      ...
      default:
        return ComponentScreen(showNavBottomBar: showNavBarExample);
    }
  }

borisovcode avatar Jul 25 '22 22:07 borisovcode

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Jul 25 '22 22:07 google-cla[bot]

We need you to sign a CLA before we further review this PR. Thanks!

domesticmouse avatar Jul 26 '22 01:07 domesticmouse

Sorry @borisovcode, we can't accept PRs without a signed CLA. Feel free to re-open once you have signed a CLA. Thanks!

domesticmouse avatar Aug 30 '22 02:08 domesticmouse