mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-05-28 11:46:49 +08:00
22 lines
366 B
Dart
22 lines
366 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class Detail extends StatelessWidget {
|
|
|
|
final String id ;
|
|
Detail(this.id) ;
|
|
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return new Scaffold(
|
|
appBar: new AppBar(
|
|
title: new Text('List Detail'),
|
|
),
|
|
body: new Center(
|
|
child: new Text('msg:'+ 'id='+id),
|
|
),
|
|
) ;
|
|
}
|
|
|
|
|
|
} |