material_you_colours

Last updated:

0 purchases

material_you_colours Image
material_you_colours Images
Add to Cart

Description:

material you colours

material_you_colours #
Should be fairly straightforward to use - example is below
import 'package:flutter/flutter.dart';
import 'package:material_you_colours/material_you_colours.dart'
show getMaterialYouThemeData;

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

@override
Widget build(BuildContext context) {
return FutureBuilder(
future: getMaterialYouThemeData(),
builder: (BuildContext context, AsyncSnapshot<ThemeData?> theme) =>
MaterialApp(
title: 'My App',
theme: theme.data ?? ThemeData.fallback(),
home: const MyHomePage(title: 'My App'),
));
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.