Before it was easy to make a gradient button with the default ButtonThemeData... But now I can't figure out how to properly make a custom gradient button using the new MaterialButtons.
I am trying to make a three custom gradient button which must use the ButtonStyle defined in the AppTheme (splashColor, elevation, ...).
ElevatedButton
GradientElevatedButton that uses the ElevatedButtonThemeData with a gradient background
TextButton
GradientTextButton that uses the TextButtonThemeData with a gradient text
OutlinedButton
GradientOutlinedButton that uses the OutlinedButtonThemeData with a gradient border and a gradient text
Already tried
I have tried to wrap an ElevatedButton with a ShaderMask but it covers the ink animations so it doesn't accomplish my goals.

