Add base interactive layout "rive" whit animation
This commit is contained in:
39
motula_translate_app/lib/model/course.dart
Normal file
39
motula_translate_app/lib/model/course.dart
Normal file
@@ -0,0 +1,39 @@
|
||||
import 'package:flutter/material.dart' show Color;
|
||||
|
||||
class Course {
|
||||
final String title, description, iconSrc;
|
||||
final Color color;
|
||||
|
||||
Course({
|
||||
required this.title,
|
||||
this.description = 'Build and animate an iOS app from scratch',
|
||||
this.iconSrc = "assets/icons/ios.svg",
|
||||
this.color = const Color(0xFF7553F6),
|
||||
});
|
||||
}
|
||||
|
||||
final List<Course> courses = [
|
||||
Course(
|
||||
title: "Animations in SwiftUI",
|
||||
),
|
||||
Course(
|
||||
title: "Animations in Flutter",
|
||||
iconSrc: "assets/icons/code.svg",
|
||||
color: const Color(0xFF80A4FF),
|
||||
),
|
||||
];
|
||||
|
||||
final List<Course> recentCourses = [
|
||||
Course(title: "State Machine"),
|
||||
Course(
|
||||
title: "Animated Menu",
|
||||
color: const Color(0xFF9CC5FF),
|
||||
iconSrc: "assets/icons/code.svg",
|
||||
),
|
||||
Course(title: "Flutter with Rive"),
|
||||
Course(
|
||||
title: "Animated Menu",
|
||||
color: const Color(0xFF9CC5FF),
|
||||
iconSrc: "assets/icons/code.svg",
|
||||
),
|
||||
];
|
||||
Reference in New Issue
Block a user