-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ontype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Flutter's WidgetsApp.localizationsDelegates
uses {@template}
to set up a reusable documentation block for subclasses:
/// {@template flutter.widgets.widgetsApp.localizationsDelegates}
/// The delegates for this app's [Localizations] widget.
///
/// The delegates collectively define all of the localized resources
/// for this application's [Localizations] widget.
/// {@endtemplate}
final Iterable<LocalizationsDelegate<dynamic>> localizationsDelegates;
The documentation that's produced for the base class is empty: https://docs.flutter.io/flutter/widgets/WidgetsApp/localizationsDelegates.html. Note that subclasses that use the {@macro}
do get the correct documentation inserted.
It seems that {@template}
documentation blocks should still show in the generated documentation.
/cc @jcollins-g
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ontype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug