This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ArticleSearchDelegate extends SearchDelegate<Article> { | |
| final List<Article> articles; | |
| ArticleSearchDelegate(this.articles); | |
| @override | |
| List<Widget> buildActions(BuildContext context) { | |
| return [ | |
| IconButton( | |
| icon: const Icon(Icons.clear), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| class ArticleDetailsPage extends StatelessWidget { | |
| final String title; | |
| final String author; | |
| final String content; | |
| const ArticleDetailsPage( | |
| {Key? key, | |
| required this.title, |
OlderNewer