mirrored_repositories/Dr-Health/lib/src/components

import 'package:flutter/material.dart';
import 'package:dr_health/src/helpers/platform_slider.dart';

class UserSlider extends StatelessWidget {
  final Function handler;
  final int howManyWeeks;
  UserSlider(this.handler,this.howManyWeeks);

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        Expanded(
            child: PlatformSlider(
              divisions: 11,
              min: 1,
              max: 10,
              value: howManyWeeks,
              color: Theme.of(context).primaryColor,
              handler:  this.handler,)),
      ],
    );
  }
}
