This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 1.3.1 - Bug Fixes and ability to export and import PBDL files
- Loading branch information
Showing
120 changed files
with
4,171 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"default": { | ||
"widgetStyle": "Material", | ||
"widgetType": "Stateless", | ||
"widgetSpacing": "Expanded", | ||
"layoutPrecedence": [ | ||
"column", | ||
"row", | ||
"stack" | ||
] | ||
}, | ||
"state-management": "provider" | ||
"default": { | ||
"widgetStyle": "Material", | ||
"widgetType": "Stateless", | ||
"widgetSpacing": "Expanded", | ||
"layoutPrecedence": [ | ||
"column", | ||
"row", | ||
"stack" | ||
] | ||
}, | ||
"state-management": "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import 'package:parabeac_core/input/helper/asset_processing_service.dart'; | ||
import 'package:parabeac_core/input/helper/azure_asset_service.dart'; | ||
import 'package:parabeac_core/input/helper/design_project.dart'; | ||
import 'package:quick_log/quick_log.dart'; | ||
|
||
import 'controller.dart'; | ||
|
||
class DesignController extends Controller { | ||
@override | ||
var log = Logger('FigmaController'); | ||
|
||
DesignController(); | ||
|
||
@override | ||
void convertFile( | ||
var pbdf, | ||
var outputPath, | ||
var configurationPath, | ||
var configType, { | ||
bool jsonOnly = false, | ||
DesignProject designProject, | ||
AssetProcessingService apService, | ||
}) async { | ||
configure(configurationPath, configType); | ||
|
||
var designProject = await generateDesignProject(pbdf, outputPath); | ||
AzureAssetService().projectUUID = pbdf['id']; | ||
|
||
await super.convertFile( | ||
pbdf, | ||
outputPath, | ||
configurationPath, | ||
configType, | ||
designProject: designProject, | ||
jsonOnly: jsonOnly, | ||
); | ||
} | ||
|
||
DesignProject generateDesignProject(var pbdf, var proejctName) { | ||
return DesignProject.fromPBDF(pbdf); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.