Add base interactive layout "rive" whit animation
This commit is contained in:
17
motula_translate_app/lib/model/rive_model.dart
Normal file
17
motula_translate_app/lib/model/rive_model.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
import 'package:rive/rive.dart';
|
||||
|
||||
class RiveModel {
|
||||
final String src, artboard, stateMachineName;
|
||||
late SMIBool? status;
|
||||
|
||||
RiveModel({
|
||||
required this.src,
|
||||
required this.artboard,
|
||||
required this.stateMachineName,
|
||||
this.status,
|
||||
});
|
||||
|
||||
set setStatus(SMIBool state) {
|
||||
status = state;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user