trying to fix
This commit is contained in:
parent
fa407dfeb6
commit
e013d7569e
22945 changed files with 447936 additions and 0 deletions
26
var/backup/!home!chris!dev!dmw!lib!data!app_data.dart~
Normal file
26
var/backup/!home!chris!dev!dmw!lib!data!app_data.dart~
Normal file
|
@ -0,0 +1,26 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
class Post {
|
||||
static final posts = [
|
||||
Post(Colors.amberAccent, 'Post 1', 1),
|
||||
Post(Colors.blue, 'Post 2', 2),
|
||||
Post(Colors.pinkAccent, 'Post 3', 3),
|
||||
];
|
||||
final Color color;
|
||||
final String title;
|
||||
final int id;
|
||||
|
||||
Post(this.color, this.title, this.id);
|
||||
}
|
||||
|
||||
class User {
|
||||
static final users = [
|
||||
User(Colors.amberAccent, 1),
|
||||
User(Colors.blue, 2),
|
||||
User(Colors.pinkAccent, 3),
|
||||
];
|
||||
final Color color;
|
||||
final int id;
|
||||
|
||||
User(this.color, this.id);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue