mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-05-26 02:07:05 +08:00
21 lines
456 B
Dart
21 lines
456 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
class SizeBoxDefault extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(
|
|
width: 140.0,
|
|
height: 80.0,
|
|
child: const Card(
|
|
child: Text(
|
|
'SizedBox',
|
|
textDirection: TextDirection.rtl,
|
|
),
|
|
margin: EdgeInsets.all(20.0),
|
|
color: Color(0xFFEF9A9A),
|
|
),
|
|
);
|
|
}
|
|
}
|