bootstrap_typography2 1.3.0 copy "bootstrap_typography2: ^1.3.0" to clipboard
bootstrap_typography2: ^1.3.0 copied to clipboard

discontinued
outdated

Bootstrap typography, size text based on screen size, uses bootstrap values in pixels

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:bootstrap_typography2/bootstrap_typography2.dart';

void main() {
  runApp(
    MaterialApp(
      home: Scaffold(
        body: SingleChildScrollView(
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.stretch,
            children: [
              H1(
                BSTextParams("H1"),
              ),
              H2(
                BSTextParams("H2"),
              ),
              H3(
                BSTextParams("H3"),
              ),
              H4(
                BSTextParams("H4"),
              ),
              H5(
                BSTextParams("H5"),
              ),
              H6(
                BSTextParams("H6"),
              ),
              P(
                BSTextParams("P"),
              ),
              H2(
                BSTextParams(
                  "Custom",
                  textSizeSmall: 16,
                  textSizeLarge: 82,
                ),
              ),
              // Selectables
              H1S(
                BSSelectParams("H1S"),
              ),
              H2S(
                BSSelectParams("H2S"),
              ),
              H3S(
                BSSelectParams("H3S"),
              ),
              H4S(
                BSSelectParams("H4S"),
              ),
              H5S(
                BSSelectParams("H5S"),
              ),
              H6S(
                BSSelectParams("H6S"),
              ),
              PS(
                BSSelectParams("PS"),
              ),
              H2S(
                BSSelectParams(
                  "Custom Selectable",
                  textSizeSmall: 16,
                  textSizeLarge: 82,
                ),
              ),
            ],
          ),
        ),
      ),
    ),
  );
}
5
likes
150
pub points
0%
popularity

Publisher

unverified uploader

Bootstrap typography, size text based on screen size, uses bootstrap values in pixels

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

bootstrap_like_breakpoints, flutter

More

Packages that depend on bootstrap_typography2