mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
21 lines
489 B
Dart
21 lines
489 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
class SearchTextFieldPage extends StatelessWidget {
|
|
const SearchTextFieldPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return const CupertinoPageScaffold(
|
|
navigationBar: CupertinoNavigationBar(
|
|
middle: Text('Search Text Field'),
|
|
),
|
|
child: Center(
|
|
child: Padding(
|
|
padding: EdgeInsets.all(16.0),
|
|
child: CupertinoSearchTextField(),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|