Fix classes that shouldn't be extended/instantiated/mixedin (#120409)
This commit is contained in:
parent
858f94cfa5
commit
298c874eac
@ -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
|
|||||||
///
|
///
|
||||||
/// {@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 {
|
|||||||
/// 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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user