changeToMaterial2 method

  1. @Deprecated('Switching to and from Material 2 and 3 is deprecated has no effect and wil be removed in the future.')
void changeToMaterial2({
  1. bool applyToBothDarkAndLightTheme = false,
})

Implementation

@Deprecated(
    'Switching to and from Material 2 and 3 is deprecated has no effect and wil be removed in the future.')
void changeToMaterial2({bool applyToBothDarkAndLightTheme = false}) =>
    _parent.changeToMaterial2(
        applyToBothDarkAndLightTheme: applyToBothDarkAndLightTheme);