Skip to content

Commit

Permalink
Fix id
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Feb 20, 2024
1 parent 51c75fb commit 868c4d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/routes/payment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ class Payment extends StatelessWidget {
}

class PaymentPage extends StatefulWidget {
PaymentPage({Key? key, this.id}) : super(key: key);
PaymentPage({Key? key, required this.id}) : super(key: key);

final String? id;
final String id;

@override
_PaymentPageState createState() => _PaymentPageState(id ?? '');
_PaymentPageState createState() => _PaymentPageState(id);
}

class _PaymentPageState extends State<PaymentPage> {
Expand Down

0 comments on commit 868c4d4

Please sign in to comment.