Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_screenutil
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
hussam
2022-03-04 16:34:57 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d0b82c42a1ea4ba45c49deeb0e704b7ff10f99c3
d0b82c42
1 parent
3d35ef23
feat: add horizontal and vertical RSizedBox
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
lib/src/r_sizedbox.dart
lib/src/r_sizedbox.dart
View file @
d0b82c4
...
...
@@ -12,6 +12,20 @@ class RSizedBox extends SizedBox {
})
:
_square
=
false
,
super
(
key:
key
,
child:
child
,
width:
width
,
height:
height
);
const
RSizedBox
.
vertical
(
double
?
height
,
{
Key
?
key
,
Widget
?
child
,
})
:
_square
=
false
,
super
(
key:
key
,
child:
child
,
height:
height
);
const
RSizedBox
.
horizontal
(
double
?
width
,
{
Key
?
key
,
Widget
?
child
,
})
:
_square
=
false
,
super
(
key:
key
,
child:
child
,
width:
width
);
const
RSizedBox
.
square
({
Key
?
key
,
double
?
height
,
...
...
Please
register
or
login
to post a comment