INNER CODE UNIT · Dart

space

duytq94/flutter-intro-slider · lib/src/intro_slider_widget.dart:861

    double space = _spaceBetweenIndicator / 2;
    return Container(
      margin: EdgeInsets.only(left: space, right: space),
      child: GestureDetector(
        onTap: () {
          _isProgrammaticNavigation = true;
          _tabController.animateTo(index, curve: _curveScroll);
        },
        child: _indicatorWidget != null
            ? _buildCustomIndicator(
                currentSize: size,
                originSize: _sizeIndicator,
                child: _indicatorWidget!)
            : _buildDefaultDot(
                size: size, color: isActive ? colorActive : color),
      ),
    );
  }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…