markdown_widget 2.3.2+6 copy "markdown_widget: ^2.3.2+6" to clipboard
markdown_widget: ^2.3.2+6 copied to clipboard

A new markdown package. It supports TOC function, code highlighting, and it supports all platforms

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_redux/flutter_redux.dart';
import 'pages/router.dart';
import 'state/root_state.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return StoreProvider<RootState>(
      store: rootStore,
      child: StoreConnector<RootState, ThemeState>(
        converter: ThemeState.storeConverter,
        builder: (ctx, state) {
          final brightness = state.brightness;
          return MaterialApp.router(
            title: 'Markdown Demo',
            theme:
                ThemeData(primarySwatch: Colors.blue, brightness: brightness),
            routerConfig: router,
          );
        },
      ),
    );
  }
}
275
likes
150
points
1.71k
downloads
screenshot

Publisher

verified publishermorn.fun

Weekly Downloads

A new markdown package. It supports TOC function, code highlighting, and it supports all platforms

Repository (GitHub)
View/report issues
Contributing

Topics

#markdown #flutter #widget

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_highlight, highlight, markdown, scroll_to_index, url_launcher, visibility_detector

More

Packages that depend on markdown_widget