Skip to content

Commit

Permalink
fix remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Remon committed Jul 24, 2024
1 parent 7deb708 commit 2dd6527
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/stripe_web/lib/src/widgets/card_field.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:developer' as dev;
import 'dart:js_interop';
import 'dart:ui' as ui;
import 'dart:ui_web' as ui;

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -54,7 +54,6 @@ class WebStripeCardState extends State<WebCardField> with CardFieldContext {
CardEditController get controller => widget.controller;

void initState() {
// ignore: undefined_prefixed_name
ui.platformViewRegistry.registerViewFactory(
'stripe_card',
(int viewId) => web.HTMLDivElement()
Expand Down

0 comments on commit 2dd6527

Please sign in to comment.