showText method

  1. @override
Future<void> showText(
  1. String text,
  2. D1TextAlign textAlign
)
override

Implementation

@override
Future<void> showText(String text, D1TextAlign textAlign) async {
  await methodChannel.invokeMethod('showText', {
    'text': text,
    'textAlign': textAlign.text,
  });
}