material_x 0.1.0 copy "material_x: ^0.1.0" to clipboard
material_x: ^0.1.0 copied to clipboard

outdated

A new Flutter package project.

example/lib/main.dart

import 'package:material_x/material_x.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    mxStatusBar();
    return MyHomePage().mxMaterialApp(title: 'zeeshan');
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  bool isActive = true;
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: new AppBar(
        title: "MXListTile".textMaterialColorBlack(),
        brightness: Brightness.light,
        centerTitle: true,
        backgroundColor: Colors.white,
      ),
      body: Padding(
          padding: const EdgeInsets.all(10.0),
          child: <Widget>[
       
            MXListTile(
                onTap: () {
                  
                },
                icon: Icons.home,
                selectedColor: Colors.black,
                unSelectedColor: Colors.red,
                selected: true,
                text: "Home")
          ].mxListView()),
    );
  }
}
11
likes
0
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

animated_interpolation, dart_style, flutter, json_ast

More

Packages that depend on material_x