You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
497 B
22 lines
497 B
/* |
|
* Copyright (c) 2023. Open Mobile Platform LLC. |
|
* License: Proprietary. |
|
*/ |
|
import 'package:flutter/widgets.dart'; |
|
import 'package:scoped_model/scoped_model.dart'; |
|
|
|
/// Model for [SqflitePage] |
|
class SqfliteModel extends Model { |
|
/// Get [ScopedModel] |
|
static SqfliteModel of(BuildContext context) => |
|
ScopedModel.of<SqfliteModel>(context); |
|
|
|
/// Error |
|
String? _error; |
|
|
|
/// Public error |
|
String? get error => _error; |
|
|
|
/// Public is error |
|
bool get isError => _error != null; |
|
}
|
|
|