basic_ui 0.2.2
basic_ui: ^0.2.2 copied to clipboard

A flutter package project which contains a collection of useful reusable widget.

Basic UI #

A flutter package project which contains a collection of useful reusable widget

Getting Started #

Use BasicApp widget as root widget

import 'package:basic_ui/basic_ui.dart';
...
return const BasicApp(
    title: 'Yout App Title',
    home: HomePage(),
);
import 'package:basic_ui/basic_ui.dart';
import 'package:flutter/material.dart';

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

  @override
  Widget build(BuildContext context) {
    return const BasicScaffold(
      title: "Home Page",
      body: _PageBody(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return BasicText(
      "Hello World!", 
      variant: BasicTextVariant.large,
    );
  }
}
2
likes
130
pub points
21%
popularity

A flutter package project which contains a collection of useful reusable widget.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

edwinsulaiman20@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, flutter_color, flutter_hooks, hooks_riverpod, intl, table_calendar

More

Packages that depend on basic_ui