buildContainer method

Container buildContainer(
  1. String path,
  2. int index
)

Implementation

Container buildContainer(String path, int index) {
  return Container(
    alignment: Alignment.center,
    child: Text(
      path,
      style: TextStyle(
          fontSize: 14,
          color: (index == (lastPaths.length - 1))
              ? (StyleMyFile.textColorHeader)
              : (StyleMyFile.textColorHeader).withOpacity(0.75)),
      textAlign: TextAlign.center,
    ),
  );
}