expandScrollables method

List<Widget> expandScrollables(
  1. dynamic scrollables
)

Implementation

List<Widget> expandScrollables(final dynamic scrollables) {
  if (scrollables is List<Widget>) {
    return scrollables;
  } else {
    return [scrollables as Widget];
  }
}