Skip to content

Commit

Permalink
Dart formatting cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mt-akar committed Apr 18, 2022
1 parent 03be945 commit c8175f4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions example/lib/examples/programmatic_navigation_example.dart
Expand Up @@ -3,17 +3,19 @@ import 'package:flutter/material.dart';

class ProgrammaticNavigationExample extends StatefulWidget {
@override
State<ProgrammaticNavigationExample> createState() => _ProgrammaticNavigationExampleState();
State<ProgrammaticNavigationExample> createState() =>
_ProgrammaticNavigationExampleState();
}

class _ProgrammaticNavigationExampleState extends State<ProgrammaticNavigationExample> {
class _ProgrammaticNavigationExampleState
extends State<ProgrammaticNavigationExample> {
StandardPageStack _stack = StandardPageStack(initialPage: 0);

@override
Widget build(BuildContext context) {
return BottomNavLayout(
pages: [
(navKey) => Center(
(_) => Center(
child: ElevatedButton(
onPressed: () {
setState(() {
Expand All @@ -23,7 +25,7 @@ class _ProgrammaticNavigationExampleState extends State<ProgrammaticNavigationEx
child: Text("Go to dashboard page"),
),
),
(navKey) => Center(
(_) => Center(
child: ElevatedButton(
onPressed: () {
setState(() {
Expand Down

0 comments on commit c8175f4

Please sign in to comment.