anchor.diff:      }
       // Add page number links
       for (var number = startPage; number <= endPage; number ++) {
  -      var page = makePage(number, number, number == currentPage);
  +      Map<String,dynamic> page = makePage(number, number.toString(), number == currentPage);
         pages.add(page);
       }
       // Add links to move between page sets
       if (isMaxSized && !rotate) {
         if (startPage > 1) {
  -        var previousPageSet = makePage(startPage - 1, "...", false);
  -        pages.insert(0, previousPageSet);
  +        pages.insert(0, makePage(startPage - 1, "...", false));
         }
         if (endPage < totalPages) {
  -        var nextPageSet = makePage(endPage + 1, "...", false);
  -        pages.add(nextPageSet);
  +        pages.add(makePage(endPage + 1, "...", false));
         }
       }
       return pages;
     }
   
   //  @HostListener('currentPageChange', const ['\$event'])
  -  onCurrentPageChange(currentPage) =>
  +  onCurrentPageChange(int currentPage) =>
         pages = getPages(currentPage, totalPages);
   }
  
positive.code:   @Input() String nextText = 'Next';
  
    /// visible pages
    List<Map> pages = [];
  
    set totalPages(int v) {
      super.totalPages = v;
  
negative.code:   }
  
    /// Create page object used in template
    Map<String,dynamic> makePage(int number, String text, bool isActive) {
      return { "number" : number, "text" : text, "active" : isActive};
    }
  
    /// get the pages to be viewed in dependence of the [currentPage] and [totalPage]
    getPages(int currentPage, int totalPages) {
      List<Map<String,dynamic>> pages = [];
      // Default page limits
      int startPage = 1;
      int endPage = totalPages;
      bool isMaxSized = maxSize != null && maxSize < totalPages;
      // recompute if maxSize
      if (isMaxSized) {
        if (rotate) {
  