mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Add new DefaultRulesPage (#875)
This commit is contained in:
committed by
GitHub
parent
1e00fd0bde
commit
0aad30fc5b
@@ -5,7 +5,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:linting_tool/layout/adaptive.dart';
|
||||
import 'package:linting_tool/model/rules_store.dart';
|
||||
import 'package:linting_tool/pages/rules_page.dart';
|
||||
import 'package:linting_tool/pages/default_rules_page.dart';
|
||||
import 'package:linting_tool/theme/colors.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
@@ -55,7 +55,7 @@ class DefaultLintsPage extends StatelessWidget {
|
||||
Navigator.push<void>(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => RulesPage(profile: profile),
|
||||
builder: (context) => DefaultRulesPage(profile: profile),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user