dashhost_flutter 0.0.6 copy "dashhost_flutter: ^0.0.6" to clipboard
dashhost_flutter: ^0.0.6 copied to clipboard

Dashhost Flutter provides components for generating SEO in flutter web apps

Dashhost Flutter provides components for generating SEO in flutter web apps that Dashhost can interpret and serve to bots and crawlers.

Features #

  • Drop-in replacement for Text widget using DashText
  • Wrap widgets in DashBox to provide semantic layout
  • Include DashMetaTag widgets to inject metatags to your page.

Usage #

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: DashText("Dashhost Coded Example", dashTag: "h1")),
      body: Align(
        alignment: Alignment.center,s
        child: Column(
          children: [
            DashMetaTag.title("Dashhost Coded Example"),
            DashMetaTag.description("Welcome to the Dashhost Flutter Coded Example"),
            DashText("Welcome to the Dashhost Flutter Coded Example", dashTag: "h2"),
          ],
        ),
      ),
    );
  }
}

Additional information #

Dashhost Flutter also includes Dev Tools to preview how your page will be interpretted. You can enable them in the run function of your main.dart

void main() {
  DashDevTools().enable();
  runApp(const MyApp());
}
0
likes
150
points
51
downloads

Publisher

verified publisherdashhost.app

Weekly Downloads

Dashhost Flutter provides components for generating SEO in flutter web apps

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, web

More

Packages that depend on dashhost_flutter