Unverified Commit 298c874e authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Fix classes that shouldn't be extended/instantiated/mixedin (#120409)

parent 858f94cf
...@@ -25,6 +25,9 @@ part of material_animated_icons; // ignore: use_string_in_part_of_directives ...@@ -25,6 +25,9 @@ part of material_animated_icons; // ignore: use_string_in_part_of_directives
/// ///
/// * [Icons], for the list of available static Material Icons. /// * [Icons], for the list of available static Material Icons.
abstract class AnimatedIcons { abstract class AnimatedIcons {
// This class is not meant to be instantiated or extended; this constructor
// prevents instantiation and extension.
AnimatedIcons._();
/// The Material Design add to event icon animation. /// The Material Design add to event icon animation.
/// ///
......
...@@ -632,7 +632,6 @@ class _MaterialStateUnderlineInputBorder extends MaterialStateUnderlineInputBord ...@@ -632,7 +632,6 @@ class _MaterialStateUnderlineInputBorder extends MaterialStateUnderlineInputBord
/// ///
/// {@macro flutter.material.MaterialStateProperty.implementations} /// {@macro flutter.material.MaterialStateProperty.implementations}
abstract class MaterialStateProperty<T> { abstract class MaterialStateProperty<T> {
/// Returns a value of type `T` that depends on [states]. /// Returns a value of type `T` that depends on [states].
/// ///
/// Widgets like [TextButton] and [ElevatedButton] apply this method to their /// Widgets like [TextButton] and [ElevatedButton] apply this method to their
......
...@@ -255,7 +255,6 @@ abstract class FinderExtension { ...@@ -255,7 +255,6 @@ abstract class FinderExtension {
/// See also: /// See also:
/// * [CommandWithTarget], a base class for [Command]s with [Finder]s. /// * [CommandWithTarget], a base class for [Command]s with [Finder]s.
abstract class CommandExtension { abstract class CommandExtension {
/// Identifies the type of command to be used by the driver extension. /// Identifies the type of command to be used by the driver extension.
String get commandKind; String get commandKind;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment