Skip to content

Commit

Permalink
Update main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
cezres committed Feb 1, 2024
1 parent 96a2b1e commit dadc0a2
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ class MyApp extends StatelessWidget {
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
home: const MyHomePage(),
);
}
}

class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});

final String title;
const MyHomePage({super.key});

@override
State<MyHomePage> createState() => _MyHomePageState();
Expand Down Expand Up @@ -98,9 +96,7 @@ class _MyHomePageState extends State<MyHomePage> {
onPressed: _showMaxConcurrenciesDialog,
icon: const Icon(Icons.settings),
),
const SizedBox(
width: 24,
)
const SizedBox(width: 24)
],
),
body: TaskManagerView(worker: worker),
Expand Down

0 comments on commit dadc0a2

Please sign in to comment.