Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
1dce2c85
Commit
1dce2c85
authored
Nov 04, 2015
by
Ali Ghassemi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating styles
parent
46f5d57a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
17 deletions
+18
-17
basic.dart
packages/flutter/lib/src/widgets/basic.dart
+18
-17
No files found.
packages/flutter/lib/src/widgets/basic.dart
View file @
1dce2c85
...
...
@@ -1098,16 +1098,16 @@ class DefaultAssetBundle extends InheritedWidget {
}
class
RawImage
extends
StatelessComponent
{
RawImage
(
{
Key
key
,
this
.
bytes
,
this
.
width
,
this
.
height
,
this
.
colorFilter
,
this
.
fit
,
this
.
repeat
:
ImageRepeat
.
noRepeat
,
this
.
centerSlice
})
:
super
(
key:
key
);
RawImage
(
{
Key
key
,
this
.
bytes
,
this
.
width
,
this
.
height
,
this
.
colorFilter
,
this
.
fit
,
this
.
repeat
:
ImageRepeat
.
noRepeat
,
this
.
centerSlice
})
:
super
(
key:
key
);
final
Uint8List
bytes
;
final
double
width
;
...
...
@@ -1120,13 +1120,14 @@ class RawImage extends StatelessComponent {
Widget
build
(
BuildContext
context
)
{
ImageResource
image
=
new
ImageResource
(
decodeImageFromList
(
bytes
));
return
new
ImageListener
(
image:
image
,
width:
width
,
height:
height
,
colorFilter:
colorFilter
,
fit:
fit
,
repeat:
repeat
,
centerSlice:
centerSlice
);
image:
image
,
width:
width
,
height:
height
,
colorFilter:
colorFilter
,
fit:
fit
,
repeat:
repeat
,
centerSlice:
centerSlice
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment