Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

cedvdb/flutter_app_theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app_theme

Flutter theme with spacings

AppTheme(
  themeData: AppThemeData(spacings: Spacings(xs: 2, s: 4, m: 8, l: 24)),
  child: Builder(
    builder: (ctx) => MaterialApp(
      theme: AppTheme.of(ctx).getMaterialThemeData(),
      home: Container(
        key: Key('tested'),
        height: AppTheme.of(ctx).spacings.l,
      ),
    ),
  ),
)

About

Flutter theme with spacings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published