docs(shorebird_code_push): minor improvements to snippet in README

This commit is contained in:
Felix Angelov
2024-11-05 11:56:28 -06:00
parent 488570d3f0
commit 81894b56be
+3 -3
View File
@@ -34,15 +34,15 @@ this:
// Import the library
import 'package:shorebird_code_push/shorebird_code_push.dart';
// Create an instance of the updater class
final updater = ShorebirdUpdater();
// Launch your app
void main() => runApp(const MyApp());
// [Other code here]
class _MyHomePageState extends State<MyHomePage> {
// Create an instance of the updater class
final updater = ShorebirdUpdater();
@override
void initState() {
super.initState();