Comments (2)
`import 'dart:io';
import 'package:syncfusion_flutter_pdfviewer/pdfviewer.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@OverRide
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@OverRide
State createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
int _counter = 0;
void _incrementCounter() {
setState(() {
_counter++;
});
}
@OverRide
Widget build(BuildContext context) {
return Scaffold(
body: SfPdfViewer.asset("assets/pdf/test.pdf"),
);
}
}
`
from flutter-widgets.
@mathavkrishnan, We have migrated our source code to be compatible with Flutter SDK 3.19.0. In Flutter SDK version 3.19.0, they have made breaking changes to the RawKeyboardListener and replaced it with the KeyboardListener. So, we kindly request that you upgrade the Flutter SDK version to 3.19.0, or else use the package syncfusion_flutter_pdfviewer version below 24.2.7. We have also shared the breaking changes documentation below for your reference.
We hope it will help you resolve the issue. If you have any further queries, please get back to us. We are always happy to assist you.
Flutter 3.19.0 breaking changes, https://docs.flutter.dev/release/breaking-changes/key-event-migration#migrating-iskeypressed-and-related-functions
from flutter-widgets.
Related Issues (20)
- [syncfusion_flutter_charts] Trendlines with `isVisibleInLegend: false` throw `Exception`s HOT 3
- [syncfusion_flutter_charts] broken chart on 24.x.x version HOT 2
- [syncfusion_flutter_charts] how to handle label overflow? HOT 2
- [syncfusion_flutter_charts ]How can i made a solid line chart even x axis = 0 HOT 1
- [syncfusion_flutter_calendar] When using easy_localization and Japanese together, the date display in the weekly calendar changes. HOT 2
- Build failed - TextScaler - when upgraded above 22.2.12 HOT 4
- [syncfusion_flutter_sliders] range_slider_base.dart in RenderBaseRangeSlider.increasedEndValue type 'int' is not a subtype of type 'double' HOT 1
- Datagrid: custom headers HOT 1
- How to change the first interval? HOT 2
- [syncfusion_flutter_calendar] Taxt scale factor works incorrectly for dates HOT 3
- Funnel chart data source changed, layout not updated HOT 1
- [syncfusion_flutter_datagrid] when onCellDoubleTap is set, secondary tap clears current selection HOT 5
- [syncfusion_flutter_datagrid] I think loadMoreViewBuilder is somewhat opinionated HOT 4
- [syncfusion_flutter_calendar ]vertical scrolling issue in timeline views HOT 2
- [syncfusion_flutter_signaturepad] Add undo redo feature for more convenience HOT 1
- zValueMapper/errorValueMapper in ErrorBarSeries HOT 1
- Major bug on tap events on grouping enabled HOT 2
- StackedColumnSeries with different groupNames and yAxisName not working HOT 1
- About SfDataGrid Selected Rows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-widgets.