Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ema987/release/v0.1.1
Release/v0.1.1
- Loading branch information
Showing
10 changed files
with
112 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# 0.1.1 | ||
|
||
Add more documentation | ||
|
||
# 0.1.0 | ||
|
||
First release |
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,47 @@ | ||
`paddings.dart` | ||
```dart | ||
// ignore: unused_import | ||
import 'package:flutter/material.dart'; | ||
import 'package:paddinger_annotations/paddinger_annotations.dart'; | ||
part 'paddings.g.dart'; | ||
@paddinger | ||
const double PADDING_NORMAL = 8; | ||
@paddinger | ||
const double PADDING_EXTREME = 56; | ||
``` | ||
|
||
`main.dart` | ||
```dart | ||
import 'package:example/paddings.dart'; | ||
import 'package:flutter/material.dart'; | ||
void main() { | ||
runApp(MyApp()); | ||
} | ||
class MyApp extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return MaterialApp( | ||
title: 'Flutter Demo', | ||
home: Scaffold( | ||
body: Column(mainAxisAlignment: MainAxisAlignment.center, children: [ | ||
NormalAllPadding( | ||
child: Row( | ||
children: [ | ||
Text("Hello Paddinger"), | ||
], | ||
)), | ||
ExtremeVerticalPadding( | ||
child: Row( | ||
children: [ | ||
Text("Hello Paddinger again"), | ||
], | ||
)) | ||
])), | ||
); | ||
} | ||
} | ||
``` |
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 +1 @@ | ||
const String PADDING_CONST_PREFIX = "PADDING_"; | ||
const String PADDING_CONST_PREFIX = 'PADDING_'; |
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
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,3 +1,7 @@ | ||
# 0.1.1 | ||
|
||
Add more documentation | ||
|
||
# 0.1.0 | ||
|
||
First release |
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,47 @@ | ||
`paddings.dart` | ||
```dart | ||
// ignore: unused_import | ||
import 'package:flutter/material.dart'; | ||
import 'package:paddinger_annotations/paddinger_annotations.dart'; | ||
part 'paddings.g.dart'; | ||
@paddinger | ||
const double PADDING_NORMAL = 8; | ||
@paddinger | ||
const double PADDING_EXTREME = 56; | ||
``` | ||
|
||
`main.dart` | ||
```dart | ||
import 'package:example/paddings.dart'; | ||
import 'package:flutter/material.dart'; | ||
void main() { | ||
runApp(MyApp()); | ||
} | ||
class MyApp extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return MaterialApp( | ||
title: 'Flutter Demo', | ||
home: Scaffold( | ||
body: Column(mainAxisAlignment: MainAxisAlignment.center, children: [ | ||
NormalAllPadding( | ||
child: Row( | ||
children: [ | ||
Text("Hello Paddinger"), | ||
], | ||
)), | ||
ExtremeVerticalPadding( | ||
child: Row( | ||
children: [ | ||
Text("Hello Paddinger again"), | ||
], | ||
)) | ||
])), | ||
); | ||
} | ||
} | ||
``` |
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