dart_board_theme 0.9.5+7
dart_board_theme: ^0.9.5+7 copied to clipboard
Basic theme selection for dart-board, allows changing between dark/light themes programmatically or through a /theme route.
import 'package:dart_board_core/dart_board_core.dart';
import 'package:dart_board_theme/dart_board_theme.dart';
import 'package:flutter/material.dart';
/// Just loading the extansion and showing the route
///
/// It's better to work on this while connected to an integrated app right now
/// (saves a ton of time)
///
/// However, in the future we can provide mocks/etc to show the AB/Disable
/// features
void main() => runApp(DartBoard(
initialPath: '/theme', features: [ThemeFeature(data: ThemeData.light())]));
copied to clipboard