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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> | |
<polymer-element name="my-element"> |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu-button/core-menu-button.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="my-element"> |
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
[ERR 14:07:39.286] AssemblyLoader: Exception loading 'ModuleManager': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. | |
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) | |
at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 | |
at AssemblyLoader.LoadAssemblies () [0x00000] in <filename unknown>:0 | |
Additional information about this exception: | |
System.TypeLoadException: Could not load type 'ModuleManager.MMPatchLoader' from assembly 'ModuleManager.2.6.18, Version=2.6.18.0, Culture=neutral, PublicKeyToken=null'. | |
System.TypeLoadException: Could not load type 'Command' from assembly 'ModuleManager.2.6.18, Version=2.6.18.0, Culture=neutral, PublicKeyToken=null'. |
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
ship = A1 | |
version = 1.1.0 | |
description = | |
type = VAB | |
size = 8.479259,64.68391,8.479258 | |
PART | |
{ | |
part = KW2mDecoupler_4294097888 | |
partName = Part | |
pos = 0.2733724,48.80578,1.344893 |
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
AppBar ({ | |
this.leading, | |
this.title | |
}) |
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
import 'package:flutter/material.dart'; | |
import 'dart:io' show Platform; | |
abstract class PlatformWidget<I extends Widget, A extends Widget> extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
if(Platform.isAndroid) { | |
return createAndroidWidget(context); | |
} else if (Platform.isIOS) { |
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
class PlatformAppBar extends PlatformWidget<CupertinoNavigationBar, AppBar> { | |
final Widget leading; | |
final Widget title; | |
PlatformWidget({ | |
this.leading, | |
this.title, | |
}); | |
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
class PlatformScaffoldWidget extends PlatformWidget<CupertinoPageScaffold,Scaffold> { | |
... | |
} | |
class PlatformButton extends PlatformWidget<CupertinoButton,FlatButton> { | |
... | |
} |
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
Widget build(BuildContext context) => | |
new PlatformScaffoldWidget( | |
appBar : new PlatformAppBarWidget( | |
leading: new PlatformButton ( | |
child: new Icon(Icons.ic_arrow_back), | |
onClick: () => _handleBack() | |
), | |
title: new Text ("I love my Platform"), | |
), | |
content: ... |
OlderNewer