Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
committed Dec 16, 2022
1 parent 507aeac commit b3d96c2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 14 deletions.
12 changes: 12 additions & 0 deletions .pubignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Files and directories created by pub.
.dart_tool/
.packages

# Conventional directory for build outputs.
build/

# Omit committing pubspec.lock for library packages; see
# https://dart.dev/guides/libraries/private-files#pubspeclock.
pubspec.lock

flutter_web/
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 1.0.0
## 0.0.0

- Initial version.
4 changes: 1 addition & 3 deletions example/bin/example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ void main(List<String> arguments) {
runApp(
port: 8080,
bindIp: "0.0.0.0",
app: MaterialApp(
home: MyApp()
),
app: MaterialApp(home: MyApp()),
);
}

Expand Down
7 changes: 2 additions & 5 deletions lib/widget/container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ class Text extends StatelessWidget {
}
}



// String Container({double height = 0, double width = 0, dynamic child}) {
// return """
// <div style="height:${height}px; width:${width}px; background: #666;">

// ${child}
// ${child}
// </div>
// """;
// }
Expand All @@ -55,11 +53,10 @@ class Text extends StatelessWidget {
// return "${text}";
// }


// String Center({
// dynamic child
// }){
// return """
// <center>${child}</center>
// """;
// }
// }
5 changes: 2 additions & 3 deletions lib/widget/framework.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ abstract class StatefulWidget extends Widget {
return super.build();
}
}

abstract class StatelessWidget extends Widget {
@override
build() {
Expand All @@ -17,9 +18,7 @@ abstract class Widget extends DiagnosticableTree {
/// Initializes [key] for subclasses.
Widget();

build() {

}
build() {}
}

abstract class DiagnosticableTree with Diagnosticable {}
Expand Down
5 changes: 3 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: webify
description: A starting point for Dart libraries or applications.
version: 1.0.0
version: 0.0.0
# homepage: https://www.example.com

homepage: https://youtube.com/@azkadev
repository: https://github.com/azkadev/webify.git
environment:
sdk: '>=2.18.5 <3.0.0'

Expand Down

0 comments on commit b3d96c2

Please sign in to comment.