Skip to content

chunta/NewsParagraph

Repository files navigation

A news app often requires the first few words of a text to be uppercase and bold. Write this package to handle this functionality.


void main() {
  runApp(MaterialApp(
    home: Scaffold(
      body: Center(
        child: Padding(
          padding: const EdgeInsets.all(18.0),
          child: NewsParagraph(
            text: "GoPro helps the world capture and share itself in immersive and exciting ways. We make the world's most versatile cameras, and sophisticated, yet simple-to-use cross-platform content-management + editing software for iOS, Android, MacOS and Windows. The GoPro Subscription, which currently serves 2.5 million customers, ties together the GoPro experience, providing worry-free camera use, storage of photos and videos, easy to use editing tools, and discounts on GoPro products.",
            titleLength: 5,
          ),
        ),
      ),
    ),
  ));
}

Alt Text

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages