Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextSpan -> fontsize bug? #5

Closed
BeanWei opened this issue Jan 5, 2019 · 1 comment
Closed

TextSpan -> fontsize bug? #5

BeanWei opened this issue Jan 5, 2019 · 1 comment

Comments

@BeanWei
Copy link

BeanWei commented Jan 5, 2019

if the fontsize > 58, the text will disappear.

import 'package:flutter/material.dart';
import './plugin/rich_text.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: RealRichText([
            TextSpan(
              text: "😀",
              style: TextStyle(color: Colors.red, fontSize: 60),
            ),
          ]),
        ),
      ),
    );
  }
}
@BeanWei
Copy link
Author

BeanWei commented Jan 9, 2019

Refer the flutter issue

@BeanWei BeanWei closed this as completed Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant