buildFeatureWidget method

Widget buildFeatureWidget(
  1. BuildContext context,
  2. Widget featureWidget
)

The widget builder for the navigable feature widget. Override this method to customize the container of the feature widget.

Implementation

Widget buildFeatureWidget(BuildContext context, Widget featureWidget) {
  return Card(
    color: Theme.of(context).cardColor.withOpacity(0.85),
    child: Padding(
      padding: const EdgeInsets.only(top: 16.0, bottom: 16.0),
      child: featureWidget,
    ),
  );
}