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

This commit is contained in:
Michael Goderbauer 2023-02-10 09:35:37 -08:00 committed by GitHub
parent 858f94cfa5
commit 298c874eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -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.
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.
///

View File

@ -632,7 +632,6 @@ class _MaterialStateUnderlineInputBorder extends MaterialStateUnderlineInputBord
///
/// {@macro flutter.material.MaterialStateProperty.implementations}
abstract class MaterialStateProperty<T> {
/// Returns a value of type `T` that depends on [states].
///
/// Widgets like [TextButton] and [ElevatedButton] apply this method to their

View File

@ -255,7 +255,6 @@ abstract class FinderExtension {
/// See also:
/// * [CommandWithTarget], a base class for [Command]s with [Finder]s.
abstract class CommandExtension {
/// Identifies the type of command to be used by the driver extension.
String get commandKind;