mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
15 lines
449 B
Dart
15 lines
449 B
Dart
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import 'package:flutter/painting.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
void main() {
|
|
runApp(new NetworkImage(
|
|
src: "http://38.media.tumblr.com/avatar_497c78dc767d_128.png",
|
|
fit: ImageFit.contain,
|
|
centerSlice: new Rect.fromLTRB(40.0, 40.0, 88.0, 88.0)
|
|
));
|
|
}
|