senior_design_tokens 3.0.1 copy "senior_design_tokens: ^3.0.1" to clipboard
senior_design_tokens: ^3.0.1 copied to clipboard

Our color, radius, spacing and typography definitions in easy-to-use tokens.

example/lib/main.dart

import 'package:flutter/material.dart';

import './pages/colors.example.dart';
import './pages/icon_size.example.dart';
import './pages/radius.example.dart';
import './pages/spacing.example.dart';
import './pages/typographies.example.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        body: SafeArea(
          child: PageView(
            children: const [
              ColorsExample(),
              IconSizeExample(),
              RadiusExample(),
              SpacingExample(),
              TypographyExample(),
            ],
          ),
        ),
      ),
    );
  }
}
3
likes
160
pub points
77%
popularity

Publisher

verified publishersenior.com.br

Our color, radius, spacing and typography definitions in easy-to-use tokens.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on senior_design_tokens