school_ui_toolkit 5.0.0 school_ui_toolkit: ^5.0.0 copied to clipboard
A basic UI toolkit to get you started with flutter application development. A collection of over 18+ custom widgets such as Calendar, Buttons with busy indicator and more.
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:school_ui_toolkit/school_ui_toolkit.dart';
import 'package:ui_example/src/assets/assets.dart';
import 'package:ui_example/src/ui/ui_catalog.dart';
void main() => runApp(UIExample());
class UIExample extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'School UI Toolkit',
theme: ThemeData(
primaryColor: SchoolToolkitColors.blue,
fontFamily: GoogleFonts.notoSans().fontFamily,
),
builder: (context, child) {
ScreenUtil.init(
context,
designSize: Size(
ScreenSize.width,
ScreenSize.height,
),
allowFontScaling: true,
);
return child;
},
home: UICatalog(),
);
}
}