Madroid

Madroid is a Flutter package created for personal use and experimentation. It provides custom widgets and utilities designed for Android-style applications, offering enhanced UI/UX features.

Features

  • Custom Widgets: Includes widgets like MadroidContainer, MadroidIcon, and MadroidText for building Android-style UIs.
  • Responsive Layouts: Widgets such as MadroidResponsiveListView and MadroidResponsiveRowColumn help create responsive designs that adjust to different screen sizes.
  • Typography: Comes with font assets for Android-style typography, including the Bauhaus font.

Getting Started

To get started with Madroid, follow these steps:

  1. Add Dependency: Add madroid to your pubspec.yaml file:

    dependencies:
      madroid: ^1.0.1
    
  2. Install the Package: Run the following command to fetch the package:

    flutter pub get
    

Usage

Here’s a basic example of how to use Madroid in your Flutter project:

import 'package:flutter/material.dart';
import 'package:madroid/madroid.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('Madroid Example')),
        body: Center(
          child: MadroidContainer(
            child: Text(
              'Hello, Madroid!',
              style: TextStyle(
                fontFamily: 'Bauhaus',
                fontWeight: FontWeight.bold,
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Additional information

  • Repository: For more details and to view the source code, visit the GitHub repository.
  • License: This package is licensed under the MIT License. See the LICENSE file for more details.
  • Contributing: Since this package is intended for personal use, contributions are not actively sought. However, if you have suggestions or improvements, please feel free to open an issue or submit a pull request on the GitHub repository.
  • Issues: If you encounter any issues or have feedback, please open an issue on the GitHub repository.

For more information on writing effective package documentation, refer to the package page guide.