mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
489 B
21 lines
489 B
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(),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|