better linting
This commit is contained in:
parent
c7324a6b19
commit
aa31a79d20
26 changed files with 163 additions and 131 deletions
|
@ -25,7 +25,7 @@ class McgRouter {
|
|||
path: Routes.imageCarousel.routePath,
|
||||
name: Routes.imageCarousel.routeName,
|
||||
builder: (context, state) => ImageCarouselView(
|
||||
imageCarouselViewArguments: state.extra as ImageCarouselViewArguments,
|
||||
imageCarouselViewArguments: state.extra! as ImageCarouselViewArguments,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
@ -17,11 +17,11 @@ enum Routes {
|
|||
}
|
||||
|
||||
class RoutesInfo {
|
||||
final String routePath;
|
||||
final String routeName;
|
||||
|
||||
const RoutesInfo({
|
||||
required this.routePath,
|
||||
required this.routeName,
|
||||
});
|
||||
|
||||
final String routePath;
|
||||
final String routeName;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue