这个问题纯粹基于GestureDetector颤振。
例如:在应用程序中,GestureDetector实现了类,因此默认情况下在这里它支持多点触摸,现在需要禁用此多点触摸,因此这可能是解决方案的最佳方法。
GestureDetector参考链接:https : //docs.flutter.io/flutter/widgets/GestureDetector-class.html
作者
import {Table, Model, Column, DataType} from 'sequelize-typescript'
@Table
export class Author extends Model<Author> {
constructor(){
super();
}
@Column(DataType.STRING)
fname: string
@Column(DataType.STRING)
lname: string
}
Run Code Online (Sandbox Code Playgroud)
应用程式
import {Sequelize} from 'sequelize-typescript';
import { customer } from './model/customer';
import { Author } from './model/Author';
export class SQLRepo {
repo:Sequelize = null;
constructor(){
this.connectDb();
}
connectDb(): any {
this.repo = new Sequelize({
database: 'postgres',
dialect: 'postgres',
host: 'localhost',
username: 'postgres',
password: 'xxxxx',
storage:
'D:/Sequalize/assosiation/database.sqlite',
modelPaths: [__dirname + '/models'],
define: {
underscored: false,
freezeTableName: …Run Code Online (Sandbox Code Playgroud)