Unverified Commit 13ac541a authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Remove TODO arround deprecation (#61672)

parent 27b306a3
......@@ -269,11 +269,10 @@ class BlacklistingTextInputFormatter extends FilteringTextInputFormatter {
}
/// Old name for [FilteringTextInputFormatter.allow].
// TODO(ianh): Deprecate these once the samples are migrated.
// at-Deprecated(
// 'Use FilteringTextInputFormatter.allow instead. '
// 'This feature was deprecated after v1.20.0-1.0.pre.'
// )
@Deprecated(
'Use FilteringTextInputFormatter.allow instead. '
'This feature was deprecated after v1.20.0-1.0.pre.'
)
class WhitelistingTextInputFormatter extends FilteringTextInputFormatter {
/// Old name for [FilteringTextInputFormatter.allow].
@Deprecated(
......@@ -292,11 +291,10 @@ class WhitelistingTextInputFormatter extends FilteringTextInputFormatter {
Pattern get whitelistedPattern => filterPattern;
/// Old name for [FilteringTextInputFormatter.digitsOnly].
// TODO(ianh): Deprecate these once the samples are migrated.
// at-Deprecated(
// 'Use FilteringTextInputFormatter.digitsOnly instead. '
// 'This feature was deprecated after v1.20.0-1.0.pre.'
// )
@Deprecated(
'Use FilteringTextInputFormatter.digitsOnly instead. '
'This feature was deprecated after v1.20.0-1.0.pre.'
)
static final WhitelistingTextInputFormatter digitsOnly
= WhitelistingTextInputFormatter(RegExp(r'\d+'));
}
......
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