import 'package:flutter_full_pdf_viewer/flutter_full_pdf_viewer.dart';
import 'package:flutter_full_pdf_viewer/full_pdf_viewer_plugin.dart';
import 'package:flutter_full_pdf_viewer/full_pdf_viewer_scaffold.dart';
import 'package:liftmanager/res/resources.dart';

import 'dart:async';
import 'dart:io';
import 'package:dio/dio.dart';

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:liftmanager/widgets/app_bar.dart';
import 'package:path_provider/path_provider.dart';
import 'package:liftmanager/utils/toast.dart';
import 'package:liftmanager/utils/utils.dart';

// ignore: must_be_immutable
class XieyiPdf extends StatelessWidget {
  String pathPDF = "";
  XieyiPdf(this.pathPDF);


  @override
  Widget build(BuildContext context) {
    
    return PDFViewerScaffold(
        appBar: MyAppBar(
          centerTitle: '专家协议',
          
        ),
        path: pathPDF);
  }
}
