mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +00:00
Some linting_tool updates and cleanup (#1279)
This commit is contained in:
@@ -23,7 +23,7 @@ class RulesPage extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
final isDesktop = isDisplayLarge(context);
|
||||
final isTablet = isDisplayMedium(context);
|
||||
var textTheme = Theme.of(context).textTheme;
|
||||
final textTheme = Theme.of(context).textTheme;
|
||||
final startPadding = isTablet
|
||||
? 60.0
|
||||
: isDesktop
|
||||
@@ -85,7 +85,7 @@ class RulesPage extends StatelessWidget {
|
||||
itemCount: profile.rules.length,
|
||||
cacheExtent: 5,
|
||||
itemBuilder: (context, index) {
|
||||
/// Show righ-click context menu to delete rule.
|
||||
/// Show right-click context menu to delete rule.
|
||||
return ContextMenuRegion(
|
||||
contextMenu: GenericContextMenu(
|
||||
buttonConfigs: [
|
||||
|
||||
Reference in New Issue
Block a user