ThemeDataExtension extension
An extension for ThemeData.
- on
Methods
-
withPreferredButtonStyles(
) → ThemeData - Creates a copy of ThemeData but with referred ButtonStyle for ElevatedButton, OutlinedButton and TextButton.
-
withSplashFactory(
InteractiveInkFeatureFactory factory) → ThemeData - Creates a copy of ThemeData but with given InteractiveInkFeatureFactory for splash factory of normal widgets and some kinds of button widgets.