mirrored_repositories/Shots/lib/src
import 'package:flutter/material.dart';

extension E on Widget {
  Widget sliver() {
    return SliverToBoxAdapter(child: this);
  }
}

extension T on TextStyle {
  // custom color
  TextStyle c(Color value) => copyWith(color: value);

  // font weight
  TextStyle w(FontWeight weight) => copyWith(fontWeight: weight);

  // size
  TextStyle s(double value) => copyWith(fontSize: value);

}
