main function
Implementation
void main(List<String> args) {
runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
home: AffogatoWindow(
performanceConfigs: const AffogatoPerformanceConfigs(
rendererType: InstanceRendererType.adHoc,
),
workspaceConfigs: AffogatoWorkspaceConfigs(
projectName: 'My First Project',
// Possible to mix-and-match editor themes and syntax highlighting themes
// from different ThemeBundles
themeBundle: ThemeBundle(
editorTheme: vscodeModernDarkEditorTheme,
tokenMapping: vscodeModernDarkTokenMapping,
),
languageBundles: const {
LanguageBundle(
bundleName: 'dart',
fileAssociationContributions: [],
): ['dart'],
LanguageBundle(
bundleName: 'javascript',
fileAssociationContributions: [],
): ['js'],
LanguageBundle(
bundleName: 'markdown',
fileAssociationContributions: [],
): ['md'],
},
instancesData: {},
stylingConfigs: const AffogatoStylingConfigs(
windowWidth: 1100,
windowHeight: 786,
tabBarHeight: 40,
editorFontSize: 14,
),
extensions: [
...affogatoCoreExtensions,
],
),
),
),
);
}