updated gitignore and changed content directory
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -156,4 +156,4 @@ app.*.symbols
|
|||||||
!.vscode/settings.json
|
!.vscode/settings.json
|
||||||
|
|
||||||
# Custom
|
# Custom
|
||||||
content.json
|
content/
|
||||||
@@ -6,7 +6,7 @@ import 'package:resume/constants.dart';
|
|||||||
class ContentProvider {
|
class ContentProvider {
|
||||||
ContentProvider._();
|
ContentProvider._();
|
||||||
|
|
||||||
static const String _jsonPath = 'assets/content.json';
|
static const String _jsonPath = 'assets/content/content.json';
|
||||||
|
|
||||||
static Future<bool> init() async {
|
static Future<bool> init() async {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ flutter:
|
|||||||
uses-material-design: true
|
uses-material-design: true
|
||||||
|
|
||||||
assets:
|
assets:
|
||||||
- assets/content.json
|
- assets/content/content.json
|
||||||
- assets/profile.jpg
|
- assets/profile.jpg
|
||||||
- assets/de_icon.png
|
- assets/de_icon.png
|
||||||
- assets/gb_icon.png
|
- assets/gb_icon.png
|
||||||
|
|||||||
Reference in New Issue
Block a user