feat: support mobile drag selection (#209)
* feat: add handler for mobile selection widget * feat: support dragging handler to update selection * chore: format code * feat: support dragging the cursor on mobile platform * feat: optimize the scroll service
This commit is contained in:
parent
b298ceb643
commit
6e79060260
1 changed files with 501 additions and 283 deletions
|
|
@ -14,7 +14,7 @@ class MyApp extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const MaterialApp(
|
||||
return MaterialApp(
|
||||
localizationsDelegates: [
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
|
|
@ -24,6 +24,10 @@ class MyApp extends StatelessWidget {
|
|||
supportedLocales: [Locale('en', 'US')],
|
||||
debugShowCheckedModeBanner: false,
|
||||
home: MyHomePage(title: 'AppFlowyEditor Example'),
|
||||
theme: ThemeData(
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
||||
useMaterial3: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue